diff --git a/Bloxstrap/UI/Elements/Installer/MainWindow.xaml b/Bloxstrap/UI/Elements/Installer/MainWindow.xaml index a2c71cf..d8ed554 100644 --- a/Bloxstrap/UI/Elements/Installer/MainWindow.xaml +++ b/Bloxstrap/UI/Elements/Installer/MainWindow.xaml @@ -68,13 +68,13 @@ - + - + - + diff --git a/Bloxstrap/UI/ViewModels/Installer/MainWindowViewModel.cs b/Bloxstrap/UI/ViewModels/Installer/MainWindowViewModel.cs index 347b20e..a28d6c0 100644 --- a/Bloxstrap/UI/ViewModels/Installer/MainWindowViewModel.cs +++ b/Bloxstrap/UI/ViewModels/Installer/MainWindowViewModel.cs @@ -1,8 +1,6 @@ using System.Windows.Input; using CommunityToolkit.Mvvm.Input; -using Bloxstrap.Resources; - namespace Bloxstrap.UI.ViewModels.Installer { public class MainWindowViewModel : NotifyPropertyChangedViewModel @@ -13,6 +11,8 @@ namespace Bloxstrap.UI.ViewModels.Installer public bool NextButtonEnabled { get; private set; } = false; + public int ButtonWidth { get; } = Locale.CurrentCulture.Name.StartsWith("bg") ? 112 : 96; + public ICommand BackPageCommand => new RelayCommand(BackPage); public ICommand NextPageCommand => new RelayCommand(NextPage);