TLabel.OptimalFill not applied on program startup
Original Reporter info from Mantis: serbod
-
Reporter name:
Original Reporter info from Mantis: serbod
- Reporter name:
Description:
TLabel.OptimalFill not applied when program startup, but applied in design time and when TLabel.Caption changed. It appears when project made in Windows copied on Linux, where default font visible size is different. As result, text in TLabel not fit into boundaries after program started.
Steps to reproduce:
- Create visual form, add TLabel big enough (500x40, for example) fixed size, and Caption with length enough to fill whole TLabel rectangle.
- Save project, and copy to another system, with different fonts
- Compile, execute.
Additional information:
Project created on Windows 7, FPC 2.6.3, Lazarus 1.3 (2013-11-20)
Project copied on Linux Lubuntu on Cubieboard (ARMHF), FPC 2.6.0, Lazarus 1.3 (SVN 43732), default widgetset (GTK)
Mantis conversion info:
- Mantis ID: 25630
- OS: Linux
- OS Build: Lubuntu
- Build: 43732
- Platform: ARM
- Version: 1.3 (SVN)
- Monitored by: » Valdas (Valdas Jankūnas), » serbod (serbod)