TStaticText behaves differently in GTK2 and Qt4
Original Reporter info from Mantis: Blaazen @Blaazen
-
Reporter name: Vojtech Cihak
Original Reporter info from Mantis: Blaazen @Blaazen
- Reporter name: Vojtech Cihak
Description:
Longer text is spitted in GTK2 but not in Qt (when AutoSize=True).
I don't provide demo project because it is both design time and run time problem and easy to reproduce:
- Add TStaticText to Form
- Set its text (caption property) longer, like: "StaticText1gsdfgbfdsgb"
- Set its AutoSize property to True (now Width cannot be changed).
Result:
On Qt4 text is in one line
On GTK2 it is splitted to two lines, like this:
StaticText1
gsdfgbfdsgb
or similar.
Additional information:
GTK2: fpc 20780 / Laz.: 36707
Qt4: Lazarus 0.9.31 r35805M FPC 2.5.1 x86_64-linux-qt
but IIRC it is older problem.
Mantis conversion info:
- Mantis ID: 21697
- Version: 0.9.31 (SVN)
- Fixed in revision: 36711 (#c5accacd)