TLabel with Wordwrap and taRightJustify drops lines or doubles interline spacing on win32.
Original Reporter info from Mantis: ludob
-
Reporter name: Ludo Brands
Original Reporter info from Mantis: ludob
- Reporter name: Ludo Brands
Description:
TLabel set Width:=45, Height:=100, AutoSize:=false, Alignment:=taRightJustify, WordWrap:=true and enter in caption 'line1 line2 line3 line4 line5 line6'. While typing you'll notice that line2 disappears when entering 2 and that when entering the 3, line2 moves to line 3 and line3 isn't shown anymore( interline spacing doubled). Possibly a different default font would change the exact behavior. I reproduce the problem with Courier New, Size 10 and Width:=50.
Mantis conversion info:
- Mantis ID: 20763
- Version: 0.9.31 (SVN)
- Fixed in version: 1.7 (SVN)
- Fixed in revision: r53725 (#af3f2016)