FieldSize

FieldSize

is an option for InputField, PopupMenu, and related functions that specifies the size of the field allowed for input or contents.

Details

  • Possible settings for FieldSize are:
  • Tiny, Small, Medium, Large predefined sizes
    wfixed width w and at least one line high
    {w,h}fixed width w and fixed height h
    {{wmin,wmax},}width between wmin and wmax
    {,{hmin,hmax}}height between hmin and hmax
  • The width for FieldSize is measured in ems; the height in line heights.

Examples

open allclose all

Basic Examples  (4)

Use predefined sizes for InputField:

In[1]:=
Click for copyable input
Out[1]=

Use a custom size:

In[1]:=
Click for copyable input
Out[1]=

Use predefined sizes for PopupMenu:

In[1]:=
Click for copyable input
Out[1]=

Use a custom size:

In[1]:=
Click for copyable input
Out[1]=

Properties & Relations  (1)

See Also

ImageSize  FrameMargins

Tutorials

Introduced in 2007
(6.0)