Try out more UI functionality

This commit is contained in:
Matt Nadareski
2023-10-02 01:00:31 -04:00
parent ab18c7920a
commit c69afe69dd
4 changed files with 10 additions and 4 deletions

View File

@@ -14,6 +14,7 @@
- Fix redumper EDC detection output
- Fix XGD4 PIC reading
- Ensure popups are topmost
- Try out more UI functionality
### 2.6.5 (2023-09-27)

View File

@@ -4,7 +4,6 @@
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
WindowStartupLocation="CenterScreen"
WindowStyle="None"
ShowInTaskbar="False"
ResizeMode="NoResize" SizeToContent="WidthAndHeight"
TextOptions.TextFormattingMode="Display" TextOptions.TextRenderingMode="ClearType" UseLayoutRounding="True"
Title="" MinHeight="155" MaxWidth="470" MinWidth="154"

View File

@@ -91,7 +91,9 @@ namespace WPFCustomMessageBox
InitializeComponent();
_removeTitleBarIcon = removeTitleBarIcon;
Topmost = true;
Focusable = true;
ShowActivated = true;
ShowInTaskbar = true;
if (owner != null)
{

View File

@@ -507,8 +507,10 @@ namespace MPF.UI.Core.ViewModels
{
var optionsWindow = new OptionsWindow(this.Options)
{
Focusable = true,
Owner = this.Parent,
Topmost = true,
ShowActivated = true,
ShowInTaskbar = true,
WindowStartupLocation = WindowStartupLocation.CenterOwner,
};
optionsWindow.Closed += OnOptionsUpdated;
@@ -1251,8 +1253,10 @@ namespace MPF.UI.Core.ViewModels
var discInformationWindow = new DiscInformationWindow(this.Options, submissionInfo)
{
Focusable = true,
Owner = this.Parent,
Topmost = true,
ShowActivated = true,
ShowInTaskbar = true,
WindowStartupLocation = WindowStartupLocation.CenterOwner,
};
bool? result = discInformationWindow.ShowDialog();