Components inside GroupBox getting messed up

A few days ago I posted a test project to show that FNCButton's wordwrapping function doesn't work when the button is inside of a GroupBox.

Today I'm posting another example of something else I found that gets screwed up when placed inside of a GroupBox.

  1. Take a TWebGroupBox and place it on a form.
  2. Set the font of the GroupBox to be bold and size 10.
  3. Drop a TWebLabel inside the GroupBox.

The label immediately inherits the bold font and size 10. This is normal behavior in Delphi (and very annoying).

In a VCL application, you can change the label's font property to turn off the bold. In a WEB Core application, you can't.

GroupBox Test.zip (6.1 KB)