# HG changeset patch # User Tess Snider # Date 2021-07-20 20:38:53 # Node ID 99f3d61e20d74cac591cb81f69afc7be0eae0a59 # Parent 3a27dc4b067f39d0e6560f8aee1b792abf90cb42 Modal Dialogs should no longer get stuck behind main window. diff --git a/Views/AboutView.axaml b/Views/AboutView.axaml --- a/Views/AboutView.axaml +++ b/Views/AboutView.axaml @@ -5,7 +5,7 @@ xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" mc:Ignorable="d" d:DesignWidth="296" d:DesignHeight="550" x:Class="DesertPaintCodex.Views.AboutView" - Width="296" Height="550" + Width="296" Height="550" Topmost="True" SizeToContent="Height" SystemDecorations="BorderOnly" WindowStartupLocation="CenterScreen" diff --git a/Views/MainWindow.axaml b/Views/MainWindow.axaml --- a/Views/MainWindow.axaml +++ b/Views/MainWindow.axaml @@ -5,9 +5,7 @@ xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:views="clr-namespace:DesertPaintCodex.Views" mc:Ignorable="d" d:DesignWidth="640" d:DesignHeight="800" - Width="640" Height="800" - MinWidth="600" MinHeight="500" - Topmost="True" + Width="640" Height="800" MinWidth="600" MinHeight="500" Topmost="True" x:Class="DesertPaintCodex.Views.MainWindow" Icon="/Assets/desert_paint_codex_icon.ico" Title="Desert Paint Codex"> diff --git a/Views/MessageBoxView.axaml b/Views/MessageBoxView.axaml --- a/Views/MessageBoxView.axaml +++ b/Views/MessageBoxView.axaml @@ -3,7 +3,7 @@ xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:vm="clr-namespace:DesertPaintCodex.ViewModels" - Width="300" SizeToContent="Height" + Width="300" SizeToContent="Height" Topmost="True" mc:Ignorable="d" d:DesignWidth="300" d:DesignHeight="200" WindowStartupLocation="CenterOwner" x:Class="DesertPaintCodex.Views.MessageBoxView"> diff --git a/Views/ScreenSettingsView.axaml b/Views/ScreenSettingsView.axaml --- a/Views/ScreenSettingsView.axaml +++ b/Views/ScreenSettingsView.axaml @@ -5,7 +5,7 @@ xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" x:Class="DesertPaintCodex.Views.ScreenSettingsView" mc:Ignorable="d" d:DesignWidth="310" d:DesignHeight="330" - Width="320" Height="330" + Width="320" Height="330" Topmost="True" WindowStartupLocation="CenterScreen" Title="Screen Settings">