diff --git a/Bloxstrap/Bootstrapper.cs b/Bloxstrap/Bootstrapper.cs
index 6a276ae..33d2fab 100644
--- a/Bloxstrap/Bootstrapper.cs
+++ b/Bloxstrap/Bootstrapper.cs
@@ -127,8 +127,6 @@ namespace Bloxstrap
{
App.Logger.WriteLine("[Bootstrapper::Run] Running bootstrapper");
- Controls.ShowMessageBox("hi :D", MessageBoxImage.Error, MessageBoxButton.YesNoCancel);
-
if (App.IsUninstall)
{
Uninstall();
diff --git a/Bloxstrap/UI/BootstrapperDialogs/WPF/ViewModels/FluentDialogViewModel.cs b/Bloxstrap/UI/BootstrapperDialogs/WPF/ViewModels/FluentDialogViewModel.cs
index 89c95c1..703e868 100644
--- a/Bloxstrap/UI/BootstrapperDialogs/WPF/ViewModels/FluentDialogViewModel.cs
+++ b/Bloxstrap/UI/BootstrapperDialogs/WPF/ViewModels/FluentDialogViewModel.cs
@@ -13,6 +13,7 @@ namespace Bloxstrap.UI.BootstrapperDialogs.WPF.ViewModels
{
public event PropertyChangedEventHandler? PropertyChanged;
public void OnPropertyChanged(string propertyName) => PropertyChanged?.Invoke(this, new PropertyChangedEventArgs(propertyName));
+
private readonly IBootstrapperDialog _dialog;
public ICommand CancelInstallCommand => new RelayCommand(CancelInstall);
@@ -23,6 +24,7 @@ namespace Bloxstrap.UI.BootstrapperDialogs.WPF.ViewModels
public bool ProgressIndeterminate { get; set; } = true;
public int ProgressValue { get; set; } = 0;
+ public bool CancelButtonEnabled { get; set; } = false;
public Visibility CancelButtonVisibility { get; set; } = Visibility.Collapsed;
public string CancelButtonText { get; set; } = "Cancel";
diff --git a/Bloxstrap/UI/BootstrapperDialogs/WPF/Views/FluentDialog.xaml b/Bloxstrap/UI/BootstrapperDialogs/WPF/Views/FluentDialog.xaml
index b5c1879..0de1cce 100644
--- a/Bloxstrap/UI/BootstrapperDialogs/WPF/Views/FluentDialog.xaml
+++ b/Bloxstrap/UI/BootstrapperDialogs/WPF/Views/FluentDialog.xaml
@@ -6,18 +6,22 @@
xmlns:ui="http://schemas.lepo.co/wpfui/2022/xaml"
mc:Ignorable="d"
Width="420"
- Height="192"
- MinHeight="191"
- MaxHeight="192"
+ MinHeight="0"
+ SizeToContent="Height"
ResizeMode="NoResize"
Background="{ui:ThemeResource ApplicationBackgroundBrush}"
ExtendsContentIntoTitleBar="True"
- WindowBackdropType="Mica"
- WindowCornerPreference="Round"
WindowStartupLocation="CenterScreen">
-
-
-
+
+
+
+
+
+
+
+
+
+
@@ -32,8 +36,9 @@
-
-
-
-
+
+
+
+
+
diff --git a/Bloxstrap/UI/Menu/Views/MainWindow.xaml b/Bloxstrap/UI/Menu/Views/MainWindow.xaml
index 041ff70..e30ea54 100644
--- a/Bloxstrap/UI/Menu/Views/MainWindow.xaml
+++ b/Bloxstrap/UI/Menu/Views/MainWindow.xaml
@@ -13,12 +13,7 @@
Height="580"
Background="{ui:ThemeResource ApplicationBackgroundBrush}"
ExtendsContentIntoTitleBar="True"
- WindowBackdropType="Mica"
- WindowCornerPreference="Round"
WindowStartupLocation="CenterScreen">
-
@@ -26,7 +21,7 @@
-
+
diff --git a/Bloxstrap/UI/MessageBox/FluentMessageBox.xaml b/Bloxstrap/UI/MessageBox/FluentMessageBox.xaml
index ca6f2ce..7169b84 100644
--- a/Bloxstrap/UI/MessageBox/FluentMessageBox.xaml
+++ b/Bloxstrap/UI/MessageBox/FluentMessageBox.xaml
@@ -7,6 +7,7 @@
xmlns:local="clr-namespace:Bloxstrap.UI.MessageBox"
mc:Ignorable="d"
Title="Bloxstrap"
+ d:DesignWidth="480"
MinWidth="180"
MaxWidth="480"
Width="180"
@@ -15,8 +16,6 @@
ResizeMode="NoResize"
Background="{ui:ThemeResource ApplicationBackgroundBrush}"
ExtendsContentIntoTitleBar="True"
- WindowBackdropType="Mica"
- WindowCornerPreference="Round"
WindowStartupLocation="CenterScreen">
@@ -25,9 +24,9 @@
-
+
-
+