Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/sn4k3/UVtools.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'UVtools.WPF/Windows/SettingsWindow.axaml')
-rw-r--r--UVtools.WPF/Windows/SettingsWindow.axaml19
1 files changed, 17 insertions, 2 deletions
diff --git a/UVtools.WPF/Windows/SettingsWindow.axaml b/UVtools.WPF/Windows/SettingsWindow.axaml
index e5b44ab..88c8e5d 100644
--- a/UVtools.WPF/Windows/SettingsWindow.axaml
+++ b/UVtools.WPF/Windows/SettingsWindow.axaml
@@ -34,8 +34,23 @@
SelectedItem="{Binding Settings.General.Theme, Converter={StaticResource FromValueDescriptionToEnumConverter}}"/>
</StackPanel>
- <CheckBox IsChecked="{Binding Settings.General.StartMaximized}" Content="Start maximized"/>
- <CheckBox IsChecked="{Binding Settings.General.CheckForUpdatesOnStartup}" Content="Check for updates on startup"/>
+
+ <StackPanel Orientation="Horizontal" Spacing="20">
+ <CheckBox IsChecked="{Binding Settings.General.StartMaximized}"
+ ToolTip.Tip="If enabled, the main window will show up maximized"
+ Content="Start maximized"/>
+
+ <CheckBox IsChecked="{Binding Settings.General.RestoreWindowLastPosition}"
+ IsEnabled="{Binding !Settings.General.StartMaximized}"
+ ToolTip.Tip="If enabled, it will restore the main window last known client position on startup"
+ Content="Restore window last position"/>
+
+ <CheckBox IsChecked="{Binding Settings.General.RestoreWindowLastSize}"
+ IsEnabled="{Binding !Settings.General.StartMaximized}"
+ ToolTip.Tip="If enabled, it will restore the main window last known client size on startup"
+ Content="Restore window last size"/>
+ </StackPanel>
+ <CheckBox IsChecked="{Binding Settings.General.CheckForUpdatesOnStartup}" Content="Check for updates on startup"/>
<CheckBox IsChecked="{Binding Settings.General.LoadDemoFileOnStartup}" Content="Loads a demo file on startup if no file was specified"/>
<CheckBox IsChecked="{Binding Settings.General.LoadLastRecentFileOnStartup}" Content="Loads the last recent file on startup if no file was specified"/>
</StackPanel>