Product Documentation
Cadence User Interface SKILL Reference
Product Version IC23.1, September 2023

hiSetFieldMinSize

hiSetFieldMinSize( 
g_formRegionOrLayout 
s_fieldName 
[ ?widgetWidth x_widgetWidth ] 
[ ?widgetHeight x_widgetHeight ] 
[ ?promptWidth x_promptWidth ] 
) 
=> t / nil

Description

Sets the minimum width and height for the widget portion of a field.

Arguments

g_formRegionOrLayout

  

Any of the following:

  • An instantiated hiLayout form
  • Scroll region or tab page in hiLayout form
  • hiLayout

s_fieldName

The symbol name of a field in the form, region, or layout

?widgetWidth x_widgetWidth

  

The minimum width for the widget portion of a field.

?widgetHeight x_widgetHeight

  

The minimum height for the widget portion.

?promptWidth x_promptWidth

  

The minimum prompt width, if the prompt is towards the side of the field. Else, the minimum prompt height if the prompt is above the field.

Value Returned

t

True, if the form is instantiated and all the specified sizes are valid.

nil

Nil, if the form is not instantiated or any of the specified sizes are invalid.

Examples

The string field, MyStringField, exists in form, MyForm. The minimum prompt width is set to 100 and the minimum field width is set to 300.

hiSetFieldMinSize( MyForm 'MyStringField ?widgetWidth 300 ?promptWidth 100 )

Related Topics

Form and Field Functions


Return to top
 ⠀
X