Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » RichText,QTF,RTF... » Is LineEdit the main normal text edit control? +DocEdit [SOLVED...]
Is LineEdit the main normal text edit control? +DocEdit [SOLVED...] [message #1855] Thu, 23 March 2006 18:34 Go to next message
fudadmin is currently offline  fudadmin
Messages: 1321
Registered: November 2005
Location: Kaunas, Lithuania
Ultimate Contributor
Administrator
Is LineEdit the main normal text edit control? And if yes, then how to set normal fonts in a normal way?

P.S.
Font f=Arial(12);
line_edit.SetFont(f);

gives something horrible...

[Updated on: Sun, 09 April 2006 04:34]

Report message to a moderator

Re: Is LineEdit the main normal text edit control? [message #1856 is a reply to message #1855] Thu, 23 March 2006 20:35 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
fudadmin wrote on Thu, 23 March 2006 12:34

Is LineEdit the main normal text edit control? And if yes, then how to set normal fonts in a normal way?

P.S.
Font f=Arial(12);
line_edit.SetFont(f);

gives something horrible...


There are two:

LineEdit is non-proportional line oriented text editor. That is why using Arial is not a good idea there....

DocEdit is paragraph oriented proportional. My guess is that it is what you are seeking for.

Mirek
Re: Is LineEdit the main normal text edit control? [message #1857 is a reply to message #1856] Thu, 23 March 2006 20:40 Go to previous message
fudadmin is currently offline  fudadmin
Messages: 1321
Registered: November 2005
Location: Kaunas, Lithuania
Ultimate Contributor
Administrator
luzr wrote on Thu, 23 March 2006 19:35

fudadmin wrote on Thu, 23 March 2006 12:34

Is LineEdit the main normal text edit control? And if yes, then how to set normal fonts in a normal way?

P.S.
Font f=Arial(12);
line_edit.SetFont(f);

gives something horrible...


There are two:

LineEdit is non-proportional line oriented text editor. That is why using Arial is not a good idea there....

DocEdit is paragraph oriented proportional. My guess is that it is what you are seeking for.

Mirek


Thank you. I'll try DocEdit.
Previous Topic: EditString: Paste from clipboard - charset problem
Next Topic: how to get Text Size from controls like EditString?
Goto Forum:
  


Current Time: Thu Apr 18 13:12:15 CEST 2024

Total time taken to generate the page: 0.02181 seconds