Font.Size size changes after second Showmodal for many widgets
Original Reporter info from Mantis: Eb
-
Reporter name: Eberhard
Original Reporter info from Mantis: Eb
- Reporter name: Eberhard
Description:
If you set the font-size property, for example on 25,
and then you start a form with showmodal the first time everything is ok.
When you start this form the second, third, forth, ... time
most of the widgets in this form loose the font.size- property.
It happens on gtk and gtk2.
OS: OpenSuse 10.3, fpc 2.2.0, lazarus 09.24
It happens not on windows XP.
I found 2 similar bugs,
Nr: 0011394: TBitBtn font changes size on second ShowModal
but this is reported for widgetset carbon
Nr: 0007656: Font-Settings in Memo-Field after ShowModal ignored
but this case describes a problem with the color and not with the size property.
I explored all widgets on the tabs 'standard' and 'Additional' which have the font.size property
Following widgets change their font.size
- Button
- Edit
- Memo
- Combobox
- Checkbox
- Radiobutton
- BitBtn
- StaticText
- EditButton
The following widgets are ok:
- Label
- Panel
- SpeedButton
- StringGrid
The following is OK on gkt and not OK on gtk2:
- Listbox
I made an example-project, see the attachment.
Mantis conversion info:
- Mantis ID: 11935
- Version: 0.9.24
- Fixed in version: 0.9.27 (SVN)
- Fixed in revision: 19936 (#3e258b4e)
- Target version: 1.0.0
- LazTarget: 1.0