96 views
in GUI Development by
Dear All,

I have a text box, that should just truncate text instead of wrapping it.

The view that is used is of type AttrText. Compared to the view Text it does not have a property WrapText which can be used to disable wrapping.

Is there some kind of workaround? Maybe working with bounds values?

Any help would be appreciated.

Regards,

Bernhard

1 Answer

0 votes
by

Hello Bernhard,

just set the property WrapWidth to a value large enough for the longest text line. See also Wrap the text in multiple rows automatically. Doing this configure also the property Alignment to left align the entire text block. The default configuration centers the text. See also Align the content within the Attributed Text view area.

I hope it helps you further.

Best regards

Paul Banach

Ask Embedded Wizard

Welcome to the question and answer site for Embedded Wizard users and UI developers.

Ask your question and receive answers from the Embedded Wizard support team or from other members of the community!

Embedded Wizard Website | Privacy Policy | Imprint

...