02-13-2013 06:12 AM
Hi!
In LV 2012 I have the follwing front panel layout:
On the right: A waveform graph
On the left: The cursor legend and the graph palette that belong to the graph + other front panel controls
Now I want to make the graph to fit to the main window whenever the window is resized.
Unfortunately, it turned out that I cannot use panes (left and right) as I am not allowed to put the legend and the palette into a pane that is different from the graph's pane.
If I work without panes and select "Scale object with pane" for the graph, it seems to scale ok but unfortunately its palette and legend start to vertically overlap with the other controls on the left and sometimes even the graph's legend and palette start overlapping with each other when I resize the main window.
Any workarounds and tips are welcome.
Regards,
Anguel
02-13-2013 09:34 AM
Yes, there are a lot of problems with that.
Tip: LabVIEW is not for advanced user interface, especially in resizing. Fonts do not resize, some elements can not be controlled independently, manual change is not smooth, etc. Limit the designer imagination.
Workaround: Remove autosize plot. Capture event This VI -> Panel resize and recalculate property Plot Area -> Size
02-13-2013 11:57 AM
Thanks for the hint Alexander. In the meantime I set some minimum window size for my VI and this seems to work ok for now. But the UI behavior is far from professional. Really annoying. And unfortunately it is not only the UI...