View Issue Details

IDProjectCategoryView StatusLast Update
0037279LazarusLCLpublic2020-06-27 16:49
ReporterDan S Assigned To 
PrioritynormalSeverityminorReproducibilityalways
Status newResolutionopen 
PlatformLazarus 2.0.8OSMacOS Catalina 
Product Version2.0.8 
Summary0037279: TGroupBox Does Not Honor Font fsBold Setting for Caption
DescriptionLazarus sets the (2) TRadioButton font's to Bold but not the Caption of TGroupBox. If you select fsBold for both TRadioButton.Font then nothing is made Bold. User' lucamar' confirmed TGroupBox.Caption goes Bold on Linux.
Steps To Reproduceprocedure TTMainForm.btDoTestClick(Sender: TObject);
begin
   if fsBold in GroupBox1.Font.Style then
    GroupBox1.Font.Style := GroupBox1.Font.Style - [fsBold]
  else
    GroupBox1.Font.Style := GroupBox1.Font.Style + [fsBold];
end;
Additional InformationUser' lucamar' confirmed TGroupBox.Caption goes Bold on Linux.
TagsNo tags attached.
Fixed in Revision
LazTarget
WidgetsetCocoa
Attached Files

Activities

Bart Broersma

2020-06-27 15:07

developer   ~0123620

Isn't that controlled by themes (so basically by the widgetset)?

Dan S

2020-06-27 16:26

reporter   ~0123626

Last edited: 2020-06-27 16:49

View 2 revisions

Not sure what you mean by "themes". If I override the default for a control, it should honor that. At the very least, it should make the TGroupBox and it child controls captions Bold. But what makes most design sense? Bold on the TGroupBox Caption only. I have attached screenshots.

Issue History

Date Modified Username Field Change
2020-06-27 14:36 Dan S New Issue
2020-06-27 15:07 Bart Broersma Note Added: 0123620
2020-06-27 16:26 Dan S Note Added: 0123626
2020-06-27 16:26 Dan S File Added: Screen Shot 2020-06-26 at 4.44.21 PM.png
2020-06-27 16:26 Dan S File Added: Screen Shot 2020-06-26 at 4.44.14 PM.png
2020-06-27 16:49 Dan S Note Edited: 0123626 View Revisions