Home » U++ Library support » ArrayCtrl, HeaderCtrl & GridCtrl » LineEdit font bug
|
|
| Re: LineEdit font bug [message #40847 is a reply to message #40843] |
Mon, 23 September 2013 10:14   |
|
|
Hi iST1,
The problem is that you change the font. LineEdit is probably (I'm not sure) designed to work with monospace fonts only (anyone else knows more about this?). But GetStdFont returns non-monospace, e.g. DUMP(editCell.GetFont());
editCell.SetFont(GetStdFont());
DUMP(editCell.GetFont()); on my system logs| Quote: | editCell.GetFont() = <monospace:16>
editCell.GetFont() = <FreeSans:12>
|
If you skip the SetFont line, it works as expected. If you really want to change the font, try using some monospaced one...
Best regards,
Honza
|
|
|
|
|
|
Goto Forum:
Current Time: Thu Jan 01 08:41:50 CET 2026
Total time taken to generate the page: 0.13830 seconds
|