TEditButton aligns incorrect (glyph is not taken into account)
Original Reporter info from Mantis: Martin @martin_frb
-
Reporter name: Martin Friebe
Original Reporter info from Mantis: Martin @martin_frb
- Reporter name: Martin Friebe
Description:
If TeditButton or any subclass (TFilenameEdit, TDirectoryEdit) uses align alBottom, top, right or alClient then the button is not taken into account for calculating the width.
The glyph will be outside the visible area
To Reproduce:
- put a TEditButton on a form (glyph is visible)
- set align := alBottom
=> glyph is outside the visible area, The Edit itself aligns with with the borders of parent.
Additional information:
Only tested under Windows. Probably all widgetsets
Mantis conversion info:
- Mantis ID: 12155
- Version: 0.9.25 (SVN)
- Fixed in version: 1.4
- Fixed in revision: r44623 (#bee933f2)
- Target version: 1.4