diff --git a/WinPowerHelper.Wpf/MainWindow.xaml b/WinPowerHelper.Wpf/MainWindow.xaml index 0eb722e..2c4ce58 100644 --- a/WinPowerHelper.Wpf/MainWindow.xaml +++ b/WinPowerHelper.Wpf/MainWindow.xaml @@ -9,12 +9,13 @@ mc:Ignorable="d" DataContext="{StaticResource MainViewModel}" Title="{Binding AppTitle}" - MinHeight="240" MinWidth="420" Width="500" Height="240" + MinHeight="240" MinWidth="420" Width="500" Height="250" MaxHeight="400" MaxWidth="680" ResizeMode="CanMinimize"> + @@ -46,30 +47,39 @@ Command="{Binding SetIntervalToZeroCmd}">set to zero - + + - - + + Style="{StaticResource ComboBox}" + SelectedValue="{Binding SelectedPowerOption, Mode=OneWayToSource, UpdateSourceTrigger=PropertyChanged, FallbackValue=Sleep}" + IsEditable="False" + ItemContainerStyle="{StaticResource ComboBoxItem.Accent}"> - + - - - -