For creating a GUI, determining the size of the front panel window can be a challenge (or just plain tedious).
The following scenario is fairly common:
1) Position the top and left edges of the front panel window so that the top and left edges of the desired front panel objects are shown.
2) Resize the window (using the bottom right corner) to fit the bottom right edges of the desired front panel objects.
It would be nice to be able to select certain front panel objects (ie, controls, indicators, decorations, etc), and then have the window resized based upon the position of those front panel objects.
The entire window would be resized so that the top-most, bottom-most, left-most, and right-most bounds of the selected front panel objects become the new front panel window bounds (of course, taking into account other components like the menu bar, scrollbars, etc.). Any cases where this would not work would result in a message stating why the operation cannot be performed.
Optional items:
a) The top-left edge of the selected front panel objects could become the new front panel origin.
b) There could be a pixel padding that allows an additional border around the selected front panel objects, but have that hidden away in a configuration option (labview.ini) or further nested in the menu.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Any idea that has received less than 7 kudos within 7 years after posting will be automatically declined.