We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dea585a commit 721726dCopy full SHA for 721726d
Flow.Launcher/MessageBoxEx.xaml.cs
@@ -37,8 +37,9 @@ public static MessageBoxResult Show(
37
try
38
{
39
msgBox = new MessageBoxEx(button);
40
- if (caption == string.Empty && button == MessageBoxButton.OK && icon == MessageBoxImage.None)
+ if (caption == string.Empty && icon == MessageBoxImage.None)
41
42
+ // If there is no caption and no icon, use DescOnlyTextBlock for vertically centered text
43
msgBox.Title = messageBoxText;
44
msgBox.DescOnlyTextBlock.Visibility = Visibility.Visible;
45
msgBox.DescOnlyTextBlock.Text = messageBoxText;
0 commit comments