Basic Customization > User Interface Customization > Presenting Information in the UI > Attribute Customization > Windchill Attribute Customization Overview > Common Attribute Customization Procedures > Controlling the Size of Input Fields for String Attributes
  
Controlling the Size of Input Fields for String Attributes
You want to customize the physical width and/or height of the input fields for string attributes.
Solution Elements
Element
Description
String Length Threshold For Multiple Line Input
Provided as a property or a preference. See String Length Threshold For Multiple Line Input in Configuration Points for more information.
Input Field Type
Provided as a property. See Input Field Type in Configuration Points for more information.
Text Input Rows
Provided as a property. See Text Input Rows in Configuration Points for more information.
Text Input Columns
Provided as a property. See Text Input Columns in Configuration Points for more information.
Intended Outcome
You are able customize the physical width and/or height of the input fields for some string attributes.
Limitations
The width and height are not configurable for certain special attributes like Name and Number.
If a string input attribute is set to span columns in a layout, the input field width will expand to fit the combined width of the columns spanned. This will occur even if the string input length is smaller than the spanned width.
Column span is not supported in the Structure Browser in this release.
Solution
The combinations of the solution elements required to achieve the different kinds of behavior are listed below:
If you want to…..
Configuration
Customize the height of all input fields automatically based on the string length constraint
Use String Length Threshold For Multiple Line Input
Override the automatic behavior provided by the String Length Threshold For Multiple Line Input for a specific attribute only
Use Input Field Type
Always display a certain type of field(either single line or multi line) for a specific attribute
Use Input Field Type
Specify the actual number of rows visible without scrolling, in a multi-line text input field.
Use Text Input Rows.
Customize the width of the input field
Use Text Input Columns.
Note: For most fields, the width of the field defaults to that specified by Windchill UI standards and the attribute’s String Length Constraint.