MagicFoundation / Alcinoe

Alcinoe Component Library For Delphi. Full opengl video player, WebRTC delphi wrapper, native ios/android TEdit, Improuved firemonkey controls, Firebase cloud messaging, Android/ios facebook sdk login, Json/Bson Parser, ImageMagick wrapper, MongoDb client And much more
Apache License 2.0
998 stars 220 forks source link

WordWrap on TALText / TALEdit / TALMemo #360

Closed maurobotta closed 3 weeks ago

maurobotta commented 3 weeks ago

Hi @Zeus64 , I have 2 questions.

1) I have TALText, How work WordWrap ?

myLabel.TextSettings.WordWrap := False; <<- don't exit

2) See bottom Image, how i hidden ".." in Label / Memo / Edit ? i need see ALL TEXT without cut.

Thank you again for your work and commitment. Alcinoe is number one.

Mauro

image

Zeus64 commented 3 weeks ago

Hi maurobotta,

1.

I have TALText, How work WordWrap ?

in TALText the wordwrap is done in Textsettings.MaxLines. MaxLines = 1 mean no wordwrap, MaxLines > 1 mean wordwrap. by default MaxLines = 65535 so it's mean wordwrap

2.

See bottom Image, how i hidden ".." in Label / Memo / Edit ? i need see ALL TEXT without cut.

if you want to see all text without cut, you must set MyText.autosize = true so that the control will resize to fit all the text