From f332d6622103a06f53ba1f2bd9dc94420040f909 Mon Sep 17 00:00:00 2001 From: Tom Waterbley Date: Fri, 6 Mar 2026 09:33:40 +0100 Subject: [PATCH 1/2] Expose IsMultiline property on Label components (cherry picked from commit b0711f450123b496daaccd8cb97252736e85383e) --- InteractiveAutomationToolkit/Components/Label.cs | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/InteractiveAutomationToolkit/Components/Label.cs b/InteractiveAutomationToolkit/Components/Label.cs index 7da3508..d8e566e 100644 --- a/InteractiveAutomationToolkit/Components/Label.cs +++ b/InteractiveAutomationToolkit/Components/Label.cs @@ -85,6 +85,22 @@ public string Tooltip } } + /// + /// Gets or sets a value indicating whether users are able to enter multiple lines of text. + /// + public bool IsMultiline + { + get + { + return BlockDefinition.IsMultiline; + } + + set + { + BlockDefinition.IsMultiline = value; + } + } + private static string StyleToUiString(TextStyle textStyle) { switch (textStyle) From 2a51801ac7111a97e49a0ec29a5786ae0e15cc67 Mon Sep 17 00:00:00 2001 From: Tom Waterbley Date: Fri, 6 Mar 2026 09:38:19 +0100 Subject: [PATCH 2/2] Improve summary --- InteractiveAutomationToolkit/Components/Label.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/InteractiveAutomationToolkit/Components/Label.cs b/InteractiveAutomationToolkit/Components/Label.cs index d8e566e..7eb23c5 100644 --- a/InteractiveAutomationToolkit/Components/Label.cs +++ b/InteractiveAutomationToolkit/Components/Label.cs @@ -86,7 +86,7 @@ public string Tooltip } /// - /// Gets or sets a value indicating whether users are able to enter multiple lines of text. + /// Gets or sets a value indicating whether this label is multiline, meaning that it can display multiple lines of text. /// public bool IsMultiline {