Skip to content
Merged
Show file tree
Hide file tree
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
2 changes: 1 addition & 1 deletion InteractiveAutomationToolkit/Dialogs/ExceptionDialog.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
/// </summary>
public class ExceptionDialog : Dialog
{
private readonly Label exceptionLabel = new Label();
private readonly Label exceptionLabel = new Label() { IsMultiline = true };
private Exception exception;

/// <summary>
Expand Down
2 changes: 1 addition & 1 deletion InteractiveAutomationToolkit/Dialogs/MessageDialog.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
/// </summary>
public class MessageDialog : Dialog
{
private readonly Label messageLabel = new Label();
private readonly Label messageLabel = new Label() { IsMultiline = true };

/// <summary>
/// Initializes a new instance of the <see cref="MessageDialog" /> class without a message.
Expand Down
2 changes: 1 addition & 1 deletion InteractiveAutomationToolkit/Dialogs/OkCancelDialog.cs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ public OkCancelDialog(IEngine engine, string message, CallToAction callToAction
OkButton.Style = callToAction == CallToAction.OK ? ButtonStyle.CallToAction : ButtonStyle.None;
CancelButton.Style = callToAction == CallToAction.Cancel ? ButtonStyle.CallToAction : ButtonStyle.None;

AddWidget(new Label(message), 0, 0, 1, 2);
AddWidget(new Label(message) { IsMultiline = true }, 0, 0, 1, 2);

AddWidget(new WhiteSpace(), 1, 0);

Expand Down
2 changes: 1 addition & 1 deletion InteractiveAutomationToolkit/Dialogs/ProgressDialog.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
public class ProgressDialog : Dialog
{
private readonly StringBuilder progress = new StringBuilder();
private readonly Label progressLabel = new Label();
private readonly Label progressLabel = new Label() { IsMultiline = true };

/// <summary>
/// Initializes a new instance of the <see cref="ProgressDialog"/> class.
Expand Down
2 changes: 1 addition & 1 deletion InteractiveAutomationToolkit/Dialogs/YesNoDialog.cs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ public YesNoDialog(IEngine engine, string message, CallToAction callToAction = C
YesButton.Style = callToAction == CallToAction.Yes ? ButtonStyle.CallToAction : ButtonStyle.None;
NoButton.Style = callToAction == CallToAction.No ? ButtonStyle.CallToAction : ButtonStyle.None;

AddWidget(new Label(message), 0, 0, 1, 2);
AddWidget(new Label(message) { IsMultiline = true }, 0, 0, 1, 2);

AddWidget(new WhiteSpace(), 1, 0);

Expand Down