TGroupBox Does Not Honor Font fsBold Setting for Caption
Original Reporter info from Mantis: Dan3344034
-
Reporter name: Dan Star
Original Reporter info from Mantis: Dan3344034
- Reporter name: Dan Star
Description:
Lazarus 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 reproduce:
procedure 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 information:
User' lucamar' confirmed TGroupBox.Caption goes Bold on Linux.
Mantis conversion info:
- Mantis ID: 37279
- OS: MacOS Catalina
- OS Build: 10.15.5
- Build: 2020-04-15
- Platform: Lazarus 2.0.8
- Version: 2.0.8
- Fixed in revision: 63522 (#a507da5c)