Mathematica 9 is now available
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION.
Mathematica >

FieldSize

FieldSize
is an option for InputField, PopupMenu, and related functions that specifies the size of the field allowed for input or contents.
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 and
{...,{hmin,hmax}}height between and
  • The width for FieldSize is measured in ems; the height in line heights.
Use predefined sizes for InputField:
Use a custom size:
Use predefined sizes for PopupMenu:
Use a custom size:
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]=
FieldSize uses both FieldHintStyle and BaseStyle to determine the size of an InputField:
New in 6
Ask a question about this page  |  Suggest an improvement  |  Leave a message for the team
Format:   HTML  |  CDF