Each page of a tab control should behave just like a pane does.
This means it should be possible to put splitter bars on a tab page.
This way one could build real nice front panels that look good when resizing, even when using tab controls.
At the moment I always have to decide: Do I need several tabs or is it important to be able to resize the panel?
There is no way to have both at the same time
(OK, there is one way - but I know much better ways to spend my time than programming all those pixel calculations to resize every control programmatically )
Here is a quick scetch of a dialog front panel that could be improved very much by using splitter bars and "fit control to pane":
Look what happens when the panel is resized: It's a big waste of space that could be put to a better use by extending the tree.
I agree. I posted a more basic idea earlier.... (http://forums.ni.com/t5/LabVIEW-Idea-Exchange/Fit-to-pane-Fit-to-tab/idi-p/932452), but to be able to have multiple elements scale differently on the same page that idea would need to be supplemented with splitter bars. So - 9 kudos indirectly for this.:-)
Mads: I think your suggestion is practically a 100% subset of this one. So thank you very much for the 9 kudos 😉
I think it might be very difficult for NI to integrate the idea "page = pane" into the existing tab control.
So let me say that I'd find it perfectly all right if there was an additional "Pane Tab Control" (or whatever you want to call it).
As long as I get the usability...
One workaround I used for this kind of thing was to use an XControl on the tab page -> that way the whole "control" gets resized as per the current methods but you can add splitters etc within the xcontrol to fine tune the resizing within the elements.
...However, Xcontrols are not necessarily the easiest of LabVIEW constructs to get ones head around
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.