QControl Enthusiasts

cancel
Showing results for 
Search instead for 
Did you mean: 

Reduce class banner thickness

Today I created a new QControl and realized I couldn't set the class banner with a thickness less than the one from the built-in QControl classes.

Indeed, the class icon is merged with the parent class icon.

 

So, if I want my class banner like this:

raphschru_0-1683273813139.png

 

My VIs and class constants/controls get an icon like this:

raphschru_0-1683275774899.png

Simply because the parent class (which is Control) has an icon like this:

raphschru_2-1683274257161.png

 

Is there a way to prevent LabVIEW from merging with the parent class icon ?

 

If not possible, could that be considered as an improvement to the QControl toolkit (i.e. having 9 pxl thick banners instead of 12 pxl) ?

It has these advantages:

 - Leave more room for the actual icon

 - The text in the banner is better centered with a thickness with an odd number of pixels ( assuming Small Fonts, size 8 )

 - The user is free to have a banner from 9 to any thickness desired after the QControl generation.

 

 

Thanks,

Raphaël.

0 Kudos
Message 1 of 1
(987 Views)