Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions InteractiveAutomationToolkit/Components/Label.cs
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,22 @@ public string Tooltip
}
}

/// <summary>
/// Gets or sets a value indicating whether this label is multiline, meaning that it can display multiple lines of text.
/// </summary>
public bool IsMultiline
{
get
{
return BlockDefinition.IsMultiline;
}

set
{
BlockDefinition.IsMultiline = value;
}
Comment on lines +88 to +101
Copy link

Copilot AI Mar 6, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

IsMultiline is a new public API surface on Label, but there is no unit test verifying that setting/getting it correctly forwards to BlockDefinition.IsMultiline. Adding a small test (similar to other BlockDefinition-backed property tests in this repo) would help prevent regressions when the underlying UI block behavior changes.

Copilot uses AI. Check for mistakes.
}

private static string StyleToUiString(TextStyle textStyle)
{
switch (textStyle)
Expand Down