LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

tab pane height minimum / inconsistent behaviour

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...

 

Message Edited by GerdW on 11-05-2009 01:46 PM
Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 1 of 4
(3,041 Views)

Hi,

 

just wanted to add:

In the LabView help there is (of course) no minimum value noted... Seems to be another case of missing documentation...

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 2 of 4
(3,026 Views)

No help here, but I have noticed that the miniumum (programmatic) size is related to the size of text on the tabs.

Richard






0 Kudos
Message 3 of 4
(3,010 Views)

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

0 Kudos
Message 4 of 4
(2,982 Views)