From 403f4902d02e70eebb684a199a8e2f14d4534ac0 Mon Sep 17 00:00:00 2001 From: Hendrik Brucker Date: Wed, 11 Aug 2021 00:09:48 +0200 Subject: Various text layout improvements (TextLine, TextParagraph, Label, TextServer) --- doc/classes/TextLine.xml | 18 ++++++++++++++++++ doc/classes/TextParagraph.xml | 21 +++++++++++++++++++++ 2 files changed, 39 insertions(+) (limited to 'doc/classes') diff --git a/doc/classes/TextLine.xml b/doc/classes/TextLine.xml index cc66f56d65..7e7556db8e 100644 --- a/doc/classes/TextLine.xml +++ b/doc/classes/TextLine.xml @@ -162,10 +162,28 @@ If set to [code]true[/code] text will display invalid characters. + + Sets the clipping behavior when the text exceeds the text line's set width. See [enum OverrunBehavior] for a description of all modes. + Text line width. + + No text trimming is performed. + + + Trims the text per character. + + + Trims the text per word. + + + Trims the text per character and adds an ellipsis to indicate that parts are hidden. + + + Trims the text per word and adds an ellipsis to indicate that parts are hidden. + diff --git a/doc/classes/TextParagraph.xml b/doc/classes/TextParagraph.xml index 9050f9246a..d4d2b10d75 100644 --- a/doc/classes/TextParagraph.xml +++ b/doc/classes/TextParagraph.xml @@ -284,6 +284,9 @@ Line breaking and alignment rules. For more info see [TextServer]. + + Limits the lines of text shown. + Text orientation. @@ -293,10 +296,28 @@ If set to [code]true[/code] text will display invalid characters. + + Sets the clipping behavior when the text exceeds the paragraph's set width. See [enum OverrunBehavior] for a description of all modes. + Paragraph width. + + No text trimming is performed. + + + Trims the text per character. + + + Trims the text per word. + + + Trims the text per character and adds an ellipsis to indicate that parts are hidden. + + + Trims the text per word and adds an ellipsis to indicate that parts are hidden. + -- cgit v1.2.3