11-05-2009 06:43 AM - edited 11-05-2009 06:46 AM
Hi,
I run into a small but annoying issue with tab controls. (LabView2009f2)
I want to set the height of the tab control as small as possible.
- Using property nodes (as in attached example) the minimum height is 31 pixels. With 30 pixels and below an error message is shown ("invalid value").
- Using the property dialog for the tab I can set height to 1 and setting will be accepted. However after re-opening the dialog the height is changed to 5.
- After manually setting height to 5, the tab height changes back to 31 as soon as any of the tab properties is changed (like number of tabs, their names, and so on...) - annoying!
- It doesn't matter if I'm using a classic or a modern style tab.
So my questions:
Why is the behaviour inconsistent between changing properties manually and programmatically?
Why does the tab control allow a height of 5 pixels (atleast by manual setting), but doesn't maintain it afterwards?
The quick&dirty workaround is to draw a decoration above the tab pane, but using just one property node would be much cleaner...
11-05-2009 08:03 AM
11-05-2009 10:58 AM
No help here, but I have noticed that the miniumum (programmatic) size is related to the size of text on the tabs.
11-09-2009 07:45 AM
Hi,
thank you for descriping your problem so detailed.
I've told our R&D department about that. If you want to know about the status you can call the NI Support and ask for information on CAR #195219.
Actually I don't know when this behaviour will be fixed or if there are only a more detailed informations in the documentation with a minimum value for the tab panel height.
Sorry I can't tell you more about that right now.
Thanks for reporting this to us.
Regards,
Schilli