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:

Use a custom size:

Use predefined sizes for PopupMenu:

Use a custom size:

Properties & Relations  (1)

FieldSize uses both FieldHintStyle and BaseStyle to determine the size of an InputField:

Wolfram Research (2007), FieldSize, Wolfram Language function, https://reference.wolfram.com/language/ref/FieldSize.html.

Text

Wolfram Research (2007), FieldSize, Wolfram Language function, https://reference.wolfram.com/language/ref/FieldSize.html.

CMS

Wolfram Language. 2007. "FieldSize." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/FieldSize.html.

APA

Wolfram Language. (2007). FieldSize. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/FieldSize.html

BibTeX

@misc{reference.wolfram_2023_fieldsize, author="Wolfram Research", title="{FieldSize}", year="2007", howpublished="\url{https://reference.wolfram.com/language/ref/FieldSize.html}", note=[Accessed: 19-March-2024 ]}

BibLaTeX

@online{reference.wolfram_2023_fieldsize, organization={Wolfram Research}, title={FieldSize}, year={2007}, url={https://reference.wolfram.com/language/ref/FieldSize.html}, note=[Accessed: 19-March-2024 ]}