LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

tab width

Is it possible to set the width of a tab controls tabs (where the label is). I am trying to set all tabs to the same size, I wish to use the singlw row scoll option.

 

 

0 Kudos
Message 1 of 4
(2,789 Views)

Hi,

 

having the same width should be possible: In the UI editor, select the tab, and on the Edit Tab panel choose Control Appearance / Tab fit mode = Single row justify

 

 

tab.png

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

I don't think there is a way to do this. You could try experimenting with SetCtrlAttribute (, , ATTR_TABS_MAX_TAB_WIDTH, ), but unfortunately, there is no ATTR_TABS_MIN_TAB_WIDTH.

0 Kudos
Message 3 of 4
(2,782 Views)

At least I just learned about this attribute Smiley Wink Another reason to better get used to the UI attribute browser which actually shows it...

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