Changeset - 99f3d61e20d7
[Not reviewed]
Tess Snider (Malkyne) - 3 years ago 2021-07-20 20:38:53
this@malkyne.org
Modal Dialogs should no longer get stuck behind main window.
4 files changed with 4 insertions and 6 deletions:
0 comments (0 inline, 0 general)
Views/AboutView.axaml
Show inline comments
...
 
@@ -2,13 +2,13 @@
 
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
 
        xmlns:vm="using:DesertPaintCodex.ViewModels"
 
        xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
 
        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"
 
        Title="About Desert Paint Codex">
 

	
 
    <Design.DataContext>
Views/MainWindow.axaml
Show inline comments
...
 
@@ -2,15 +2,13 @@
 
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
 
        xmlns:vm="using:DesertPaintCodex.ViewModels"
 
        xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
 
        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">
 

	
 
    <Design.DataContext>
 
        <vm:MainWindowViewModel/>
Views/MessageBoxView.axaml
Show inline comments
 
<Window xmlns="https://github.com/avaloniaui"
 
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
 
        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">
 

	
 
    <Design.DataContext>
 
        <vm:MessageBoxViewModel />
Views/ScreenSettingsView.axaml
Show inline comments
...
 
@@ -2,13 +2,13 @@
 
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
 
        xmlns:vm="using:DesertPaintCodex.ViewModels"
 
        xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
 
        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">
 

	
 
  <Design.DataContext>
 
    <vm:ScreenSettingsViewModel/>
 
  </Design.DataContext>
0 comments (0 inline, 0 general)