[SOLVED] GroupBox font style affects child labels

Answered
0
0

Good day,

I have a GroupBox control and drag some labels & textboxes under it, but when I changed the font to bold, all label controls also follow the bold settings of the groupbox.

How to correctly do it?

 

Thanks.

  • You must to post comments
Best Answer
0
0

Hi Glenn,

The BackColor, ForeColor, and Font properties of controls within a GroupBox are by default inherited from the parent.

You can add a panel to your GroupBox and set the properties of that to override the settings of the GroupBox.

If you’re just trying to change the GroupBox label you can modify your theme by updating the properties section of the GroupBox control:

groupbox > components > legend > states > default > properties > ADD: “font”: “defaultBold”

Let me know if this helps!

Best regards,

Levie

 

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.