U++ framework
Do not panic. Ask here before giving up.

Home » U++ Library support » U++ Widgets - General questions or Mixed problems » StdFont(11) in DocEdit and LineEdit
StdFont(11) in DocEdit and LineEdit [message #5947] Wed, 25 October 2006 18:21 Go to next message
yeohhs
Messages: 75
Registered: November 2005
Location: Malaysia
Member
Hi,

I have a DocEdit and a LineEdit in a lay file. The font is StdFont(11) for both.

When I load a text file into both controls, the font type displayed in DocEdit is different from that in LineEdit.

Is this the intended design or am I missing something here?

Thanks in advance for any ideas or suggestions. Smile

Best Regards,
Yeoh

Re: StdFont(11) in DocEdit and LineEdit [message #5961 is a reply to message #5947] Thu, 26 October 2006 01:14 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 14290
Registered: November 2005
Ultimate Member
Well, you should not have StdFont in LineEdit: LineEdit needs monospaced font.

I am not quite sure what exactly you see, but I think it is proportional font painted as monospaced.

Mirek
Re: StdFont(11) in DocEdit and LineEdit [message #5968 is a reply to message #5947] Thu, 26 October 2006 01:59 Go to previous message
yeohhs
Messages: 75
Registered: November 2005
Location: Malaysia
Member
Thanks. Smile
Previous Topic: Fit control to text
Next Topic: Promlem with ColumnList::SetDisplay()
Goto Forum:
  


Current Time: Fri May 01 17:36:27 GMT+2 2026

Total time taken to generate the page: 0.00890 seconds