Setting a Single Front Panel Object to Scale
- Updated2026-05-01
- 1 minute(s) read
Interactively or programmatically set whether a front panel object scales with the pane that contains the object.
- Right-click the front panel object.
-
Select an option from the shortcut menu.
Option Description Toggle whether the object automatically scales with the pane Select Scale Object with Pane. Make a control the size of the entire pane Select Fit Control to Pane. By default, controls that you fit to the pane also scale with the pane.
After you designate a single front panel object to scale automatically, gray lines outline several front panel regions. The regions define the positions of the other front panel objects in relation to the object you want to scale. These gray lines disappear when you run the VI.
When you resize the pane, the object you set to scale automatically resizes and repositions itself relative to its original location.
You can use the Set Scaling Mode method to set a single front panel object to scale programmatically.