LabVIEW 2018 Help
View Product Info
DOWNLOAD (Windows Only)
Requires: Base Development System
From the front panel or block diagram window of a VI, select File»VI Properties and select Window Size from the Category pull-down menu to display this page.
Use this page to customize the window size for VIs.
This page includes the following components:
- Minimum Panel Size—Sets the minimum size of the front panel. You cannot size the window smaller than one pixel in either dimension. If you set a pane to a size at which the scroll bars encroach on the content area's minimum size, LabVIEW hides the scroll bars. When you size the pane larger, the scroll bars appear again. If you allow the user to resize the window on the Window Appearance page, the user cannot resize the front panel smaller than the width and height you set on this page. You also can use the Front Panel Window:Minimum Size property to set the minimum size programmatically.
|Note For single-pane front panels, minimum size refers to the content area of that pane, not including the scrollbars. For multi-pane front panels, minimum size refers to the entire front panel, including any visible scrollbars.|
- Width—Sets the width (in pixels) of the minimum front panel size. You cannot size the window width smaller than one pixel.
- Height—Sets the height (in pixels) of the minimum front panel size. You cannot size the window height smaller than one pixel.
- Set to Current Pane Size—Sets the Width and Height to the dimensions of the current pane (in pixels).
- Maintain proportions of window for different monitor resolutions—Resizes the VI so it takes up approximately the same amount of screen space when opened on a computer with a different monitor resolution. Use this control in conjunction with scaling one or all the objects on the front panel. You also can use the Keep Window Proportions property to maintain front panel window proportions relative to screen resolution programmatically.
- Scale all objects on front panel as the window resizes—Automatically resizes all front panel objects with respect to and in proportion to the size of the front panel window. Text does not resize because the font sizes are fixed. Use this option when you allow the user to resize the front panel window.
You also can use the Set Scaling Mode method to read or set this option programmatically.
|Note This option is disabled when you add a splitter bar to the front panel. You must configure the panes individually by right-clicking the pane and selecting Pane sizing»Scale all objects to pane from the shortcut menu.|
Use the Window Run-Time Position page to set the position and size of a VI window.