|
|
@ -14,46 +14,44 @@ |
|
|
|
|
|
|
|
|
|
|
|
<Grid> |
|
|
|
<Grid> |
|
|
|
<ScrollViewer VerticalScrollBarVisibility="Auto"> |
|
|
|
<ScrollViewer VerticalScrollBarVisibility="Auto"> |
|
|
|
<Grid> |
|
|
|
<Grid RowDefinitions="Auto, Auto, Auto, Auto, Auto, Auto, Auto, Auto" |
|
|
|
<StackPanel Spacing="2" Margin="12,16"> |
|
|
|
Margin="8, 16"> |
|
|
|
<!-- Theme --> |
|
|
|
<!-- Theme --> |
|
|
|
<Grid RowDefinitions="auto,*"> |
|
|
|
<Grid Grid.Row="0" RowDefinitions="auto,*"> |
|
|
|
<TextBlock |
|
|
|
<TextBlock |
|
|
|
FontWeight="Medium" |
|
|
|
FontWeight="Medium" |
|
|
|
Text="Appearance" |
|
|
|
Text="Appearance" |
|
|
|
Margin="0,0,0,8" /> |
|
|
|
Margin="0,0,0,8" /> |
|
|
|
<StackPanel Grid.Row="1"> |
|
|
|
|
|
|
|
<ui:SettingsExpander |
|
|
|
<ui:SettingsExpander |
|
|
|
|
|
|
|
Grid.Row="1" |
|
|
|
Header="Theme" |
|
|
|
Header="Theme" |
|
|
|
IconSource="WeatherMoon" |
|
|
|
IconSource="WeatherMoon" |
|
|
|
Margin="8,0"> |
|
|
|
Margin="8,0,8,4"> |
|
|
|
<ui:SettingsExpander.Footer> |
|
|
|
<ui:SettingsExpander.Footer> |
|
|
|
<ComboBox |
|
|
|
<ComboBox |
|
|
|
ItemsSource="{Binding AvailableThemes}" |
|
|
|
ItemsSource="{Binding AvailableThemes}" |
|
|
|
SelectedItem="{Binding SelectedTheme}" |
|
|
|
SelectedItem="{Binding SelectedTheme}" |
|
|
|
Margin="8" |
|
|
|
|
|
|
|
MinWidth="100"/> |
|
|
|
MinWidth="100"/> |
|
|
|
</ui:SettingsExpander.Footer> |
|
|
|
</ui:SettingsExpander.Footer> |
|
|
|
</ui:SettingsExpander> |
|
|
|
</ui:SettingsExpander> |
|
|
|
</StackPanel> |
|
|
|
|
|
|
|
</Grid> |
|
|
|
</Grid> |
|
|
|
|
|
|
|
|
|
|
|
<!-- TODO: Text2Image host port settings --> |
|
|
|
<!-- TODO: Text2Image host port settings --> |
|
|
|
|
|
|
|
|
|
|
|
<!-- Checkpoints Manager Options --> |
|
|
|
<!-- Checkpoints Manager Options --> |
|
|
|
<Grid RowDefinitions="auto,*,Auto"> |
|
|
|
<Grid Grid.Row="1" Margin="0,8,0,0" RowDefinitions="auto,*,Auto"> |
|
|
|
<TextBlock |
|
|
|
<TextBlock |
|
|
|
FontWeight="Medium" |
|
|
|
FontWeight="Medium" |
|
|
|
Text="Checkpoint Manager" |
|
|
|
Text="Checkpoint Manager" |
|
|
|
Margin="0,16,0,8" /> |
|
|
|
Margin="0,0,0,8" /> |
|
|
|
<ui:SettingsExpander |
|
|
|
<ui:SettingsExpander |
|
|
|
Grid.Row="1" |
|
|
|
Grid.Row="1" |
|
|
|
IconSource="Folder" |
|
|
|
IconSource="Folder" |
|
|
|
Header="Remove shared checkpoints directory symbolic links on shutdown" |
|
|
|
Header="Remove shared checkpoints directory symbolic links on shutdown" |
|
|
|
Description="Select this option if you're having problems moving Stability Matrix to another drive" |
|
|
|
Description="Select this option if you're having problems moving Stability Matrix to another drive" |
|
|
|
Margin="8,8"> |
|
|
|
Margin="8,0"> |
|
|
|
<ui:SettingsExpander.Footer> |
|
|
|
<ui:SettingsExpander.Footer> |
|
|
|
<CheckBox Margin="4" |
|
|
|
<CheckBox Margin="8" |
|
|
|
IsChecked="{Binding RemoveSymlinksOnShutdown}"/> |
|
|
|
IsChecked="{Binding RemoveSymlinksOnShutdown}"/> |
|
|
|
</ui:SettingsExpander.Footer> |
|
|
|
</ui:SettingsExpander.Footer> |
|
|
|
</ui:SettingsExpander> |
|
|
|
</ui:SettingsExpander> |
|
|
@ -62,35 +60,34 @@ |
|
|
|
IconSource="Refresh" |
|
|
|
IconSource="Refresh" |
|
|
|
Header="Reset Checkpoints Cache" |
|
|
|
Header="Reset Checkpoints Cache" |
|
|
|
Description="Rebuilds the installed checkpoints cache. Use if checkpoints are incorrectly labeled in the Model Browser." |
|
|
|
Description="Rebuilds the installed checkpoints cache. Use if checkpoints are incorrectly labeled in the Model Browser." |
|
|
|
Margin="8,0"> |
|
|
|
Margin="8, 4"> |
|
|
|
<ui:SettingsExpander.Footer> |
|
|
|
<ui:SettingsExpander.Footer> |
|
|
|
<Button Margin="8" |
|
|
|
<Button Command="{Binding ResetCheckpointCache}" |
|
|
|
Command="{Binding ResetCheckpointCache}" |
|
|
|
|
|
|
|
Content="Reset Checkpoints Cache"/> |
|
|
|
Content="Reset Checkpoints Cache"/> |
|
|
|
</ui:SettingsExpander.Footer> |
|
|
|
</ui:SettingsExpander.Footer> |
|
|
|
</ui:SettingsExpander> |
|
|
|
</ui:SettingsExpander> |
|
|
|
</Grid> |
|
|
|
</Grid> |
|
|
|
|
|
|
|
|
|
|
|
<!-- Environment Options --> |
|
|
|
<!-- Environment Options --> |
|
|
|
<Grid RowDefinitions="auto,*"> |
|
|
|
<Grid Grid.Row="2" Margin="0,8,0,0" RowDefinitions="Auto, Auto, Auto"> |
|
|
|
<TextBlock |
|
|
|
<TextBlock |
|
|
|
FontWeight="Medium" |
|
|
|
FontWeight="Medium" |
|
|
|
Text="Package Environment" |
|
|
|
Text="Package Environment" |
|
|
|
Margin="0,16,0,0" /> |
|
|
|
Margin="0,0,0,8" /> |
|
|
|
|
|
|
|
|
|
|
|
<StackPanel Grid.Row="1" Margin="0,8" Spacing="4"> |
|
|
|
<ui:SettingsExpander Grid.Row="1" |
|
|
|
<ui:SettingsExpander |
|
|
|
|
|
|
|
Header="Environment Variables" |
|
|
|
Header="Environment Variables" |
|
|
|
IconSource="OtherUser" |
|
|
|
IconSource="OtherUser" |
|
|
|
Margin="8,0"> |
|
|
|
Margin="8,0"> |
|
|
|
<ui:SettingsExpander.Footer> |
|
|
|
<ui:SettingsExpander.Footer> |
|
|
|
<Button Content="Edit" Command="{Binding OpenEnvVarsDialogCommand}"/> |
|
|
|
<Button Content="Edit" |
|
|
|
|
|
|
|
Command="{Binding OpenEnvVarsDialogCommand}"/> |
|
|
|
</ui:SettingsExpander.Footer> |
|
|
|
</ui:SettingsExpander.Footer> |
|
|
|
</ui:SettingsExpander> |
|
|
|
</ui:SettingsExpander> |
|
|
|
|
|
|
|
|
|
|
|
<ui:SettingsExpander |
|
|
|
<ui:SettingsExpander Grid.Row="2" |
|
|
|
Header="Embedded Python" |
|
|
|
Header="Embedded Python" |
|
|
|
Margin="8,0"> |
|
|
|
Margin="8,4"> |
|
|
|
<ui:SettingsExpander.IconSource> |
|
|
|
<ui:SettingsExpander.IconSource> |
|
|
|
<controls:FASymbolIconSource Symbol="fa-brands fa-python"/> |
|
|
|
<controls:FASymbolIconSource Symbol="fa-brands fa-python"/> |
|
|
|
</ui:SettingsExpander.IconSource> |
|
|
|
</ui:SettingsExpander.IconSource> |
|
|
@ -105,44 +102,40 @@ |
|
|
|
</StackPanel> |
|
|
|
</StackPanel> |
|
|
|
</ui:SettingsExpander.Footer> |
|
|
|
</ui:SettingsExpander.Footer> |
|
|
|
</ui:SettingsExpander> |
|
|
|
</ui:SettingsExpander> |
|
|
|
</StackPanel> |
|
|
|
|
|
|
|
</Grid> |
|
|
|
</Grid> |
|
|
|
|
|
|
|
|
|
|
|
<!-- Integrations --> |
|
|
|
<!-- Integrations --> |
|
|
|
<Grid RowDefinitions="auto,*"> |
|
|
|
<Grid Grid.Row="3" Margin="0,8,0,0" RowDefinitions="auto,*"> |
|
|
|
<TextBlock |
|
|
|
<TextBlock |
|
|
|
FontWeight="Medium" |
|
|
|
FontWeight="Medium" |
|
|
|
Text="Integrations" |
|
|
|
Text="Integrations" |
|
|
|
Margin="0,16,0,8" /> |
|
|
|
Margin="0,0,0,8" /> |
|
|
|
<StackPanel Grid.Row="1"> |
|
|
|
<ui:SettingsExpander Grid.Row="1" |
|
|
|
<ui:SettingsExpander |
|
|
|
|
|
|
|
Header="Discord Rich Presence" |
|
|
|
Header="Discord Rich Presence" |
|
|
|
Margin="8,0"> |
|
|
|
Margin="8,0,8,4"> |
|
|
|
<ui:SettingsExpander.IconSource> |
|
|
|
<ui:SettingsExpander.IconSource> |
|
|
|
<controls:FASymbolIconSource Symbol="fa-brands fa-discord"/> |
|
|
|
<controls:FASymbolIconSource Symbol="fa-brands fa-discord"/> |
|
|
|
</ui:SettingsExpander.IconSource> |
|
|
|
</ui:SettingsExpander.IconSource> |
|
|
|
<ui:SettingsExpander.Footer> |
|
|
|
<ui:SettingsExpander.Footer> |
|
|
|
<ToggleSwitch |
|
|
|
<ToggleSwitch |
|
|
|
IsChecked="{Binding IsDiscordRichPresenceEnabled}" |
|
|
|
IsChecked="{Binding IsDiscordRichPresenceEnabled}" /> |
|
|
|
Margin="4" /> |
|
|
|
|
|
|
|
</ui:SettingsExpander.Footer> |
|
|
|
</ui:SettingsExpander.Footer> |
|
|
|
</ui:SettingsExpander> |
|
|
|
</ui:SettingsExpander> |
|
|
|
</StackPanel> |
|
|
|
|
|
|
|
</Grid> |
|
|
|
</Grid> |
|
|
|
|
|
|
|
|
|
|
|
<!-- System Options --> |
|
|
|
<!-- System Options --> |
|
|
|
<Grid RowDefinitions="auto,*"> |
|
|
|
<Grid Grid.Row="4" Margin="0,8,0,0" RowDefinitions="auto,*"> |
|
|
|
<TextBlock |
|
|
|
<TextBlock |
|
|
|
FontWeight="Medium" |
|
|
|
FontWeight="Medium" |
|
|
|
Text="System" |
|
|
|
Text="System" |
|
|
|
Margin="0,16,0,0" /> |
|
|
|
Margin="0,0,0,8" /> |
|
|
|
<ui:SettingsExpander |
|
|
|
<ui:SettingsExpander |
|
|
|
Grid.Row="1" |
|
|
|
Grid.Row="1" |
|
|
|
ToolTip.Tip="{OnPlatform Default='Only available on Windows', Windows={x:Null}}" |
|
|
|
ToolTip.Tip="{OnPlatform Default='Only available on Windows', Windows={x:Null}}" |
|
|
|
Header="Add Stability Matrix to the Start Menu" |
|
|
|
Header="Add Stability Matrix to the Start Menu" |
|
|
|
Description="Uses the current app location, you can run this again if you move the app" |
|
|
|
Description="Uses the current app location, you can run this again if you move the app" |
|
|
|
IconSource="StarAdd" |
|
|
|
IconSource="StarAdd" |
|
|
|
Margin="8"> |
|
|
|
Margin="8,0,8,4"> |
|
|
|
<ui:SettingsExpander.Footer> |
|
|
|
<ui:SettingsExpander.Footer> |
|
|
|
<StackPanel Orientation="Horizontal" Spacing="8"> |
|
|
|
<StackPanel Orientation="Horizontal" Spacing="8"> |
|
|
|
<controls:ProgressRing |
|
|
|
<controls:ProgressRing |
|
|
@ -176,57 +169,84 @@ |
|
|
|
</Grid> |
|
|
|
</Grid> |
|
|
|
|
|
|
|
|
|
|
|
<!-- Debug Options --> |
|
|
|
<!-- Debug Options --> |
|
|
|
<Grid RowDefinitions="auto,*" |
|
|
|
<Grid Grid.Row="5" RowDefinitions="auto,*" |
|
|
|
Margin="0,4,0,0" |
|
|
|
Margin="0,8,0,0" |
|
|
|
IsVisible="{Binding SharedState.IsDebugMode}" > |
|
|
|
IsVisible="{Binding SharedState.IsDebugMode}" > |
|
|
|
<TextBlock |
|
|
|
<TextBlock |
|
|
|
FontWeight="Medium" |
|
|
|
FontWeight="Medium" |
|
|
|
Text="Debug Options" |
|
|
|
Text="Debug Options" |
|
|
|
Margin="0,16,0,0" /> |
|
|
|
Margin="0,0,0,8" /> |
|
|
|
<ui:SettingsExpander |
|
|
|
<ui:SettingsExpander |
|
|
|
Grid.Row="1" |
|
|
|
Grid.Row="1" |
|
|
|
IconSource="Code" |
|
|
|
IconSource="Code" |
|
|
|
Command="{Binding LoadDebugInfo}" |
|
|
|
Command="{Binding LoadDebugInfo}" |
|
|
|
Header="Debug Options" |
|
|
|
Header="Debug Options" |
|
|
|
Margin="8"> |
|
|
|
Margin="8, 0,8,4"> |
|
|
|
|
|
|
|
|
|
|
|
<ui:SettingsExpanderItem Description="Paths" IconSource="Folder"> |
|
|
|
<ui:SettingsExpanderItem Description="Paths" IconSource="Folder" |
|
|
|
|
|
|
|
Margin="4"> |
|
|
|
<SelectableTextBlock Text="{Binding DebugPaths}" |
|
|
|
<SelectableTextBlock Text="{Binding DebugPaths}" |
|
|
|
Foreground="{DynamicResource TextControlPlaceholderForeground}" |
|
|
|
Foreground="{DynamicResource TextControlPlaceholderForeground}" |
|
|
|
TextWrapping="WrapWithOverflow" /> |
|
|
|
TextWrapping="WrapWithOverflow" /> |
|
|
|
</ui:SettingsExpanderItem> |
|
|
|
</ui:SettingsExpanderItem> |
|
|
|
|
|
|
|
|
|
|
|
<ui:SettingsExpanderItem Description="Compat Info" IconSource="StarFilled"> |
|
|
|
<ui:SettingsExpanderItem Description="Compat Info" IconSource="StarFilled" |
|
|
|
|
|
|
|
Margin="4,0,4,4"> |
|
|
|
<SelectableTextBlock Text="{Binding DebugCompatInfo}" |
|
|
|
<SelectableTextBlock Text="{Binding DebugCompatInfo}" |
|
|
|
Foreground="{DynamicResource TextControlPlaceholderForeground}" |
|
|
|
Foreground="{DynamicResource TextControlPlaceholderForeground}" |
|
|
|
TextWrapping="WrapWithOverflow" /> |
|
|
|
TextWrapping="WrapWithOverflow" /> |
|
|
|
</ui:SettingsExpanderItem> |
|
|
|
</ui:SettingsExpanderItem> |
|
|
|
|
|
|
|
|
|
|
|
<ui:SettingsExpanderItem Description="GPU Info" IconSource="FullScreenMaximize"> |
|
|
|
<ui:SettingsExpanderItem Description="GPU Info" IconSource="FullScreenMaximize" |
|
|
|
|
|
|
|
Margin="4,0,4,4"> |
|
|
|
<SelectableTextBlock Text="{Binding DebugGpuInfo}" |
|
|
|
<SelectableTextBlock Text="{Binding DebugGpuInfo}" |
|
|
|
Foreground="{DynamicResource TextControlPlaceholderForeground}" |
|
|
|
Foreground="{DynamicResource TextControlPlaceholderForeground}" |
|
|
|
TextWrapping="WrapWithOverflow" /> |
|
|
|
TextWrapping="WrapWithOverflow" /> |
|
|
|
</ui:SettingsExpanderItem> |
|
|
|
</ui:SettingsExpanderItem> |
|
|
|
|
|
|
|
|
|
|
|
<ui:SettingsExpanderItem Content="Notification" IconSource="CommentAdd"> |
|
|
|
<ui:SettingsExpanderItem Content="Animation Scale" IconSource="Clock" |
|
|
|
|
|
|
|
Description="Lower values = faster animations. 0x means animations are instant." |
|
|
|
|
|
|
|
Margin="4,0,4,4"> |
|
|
|
|
|
|
|
<ui:SettingsExpanderItem.Footer> |
|
|
|
|
|
|
|
<ComboBox Margin="0, 8" |
|
|
|
|
|
|
|
ItemsSource="{Binding AnimationScaleOptions}" |
|
|
|
|
|
|
|
SelectedItem="{Binding SelectedAnimationScale}"> |
|
|
|
|
|
|
|
<ComboBox.ItemTemplate> |
|
|
|
|
|
|
|
<DataTemplate> |
|
|
|
|
|
|
|
<TextBlock> |
|
|
|
|
|
|
|
<Run Text="{Binding }"/><Run Text="x"/> |
|
|
|
|
|
|
|
</TextBlock> |
|
|
|
|
|
|
|
</DataTemplate> |
|
|
|
|
|
|
|
</ComboBox.ItemTemplate> |
|
|
|
|
|
|
|
</ComboBox> |
|
|
|
|
|
|
|
</ui:SettingsExpanderItem.Footer> |
|
|
|
|
|
|
|
</ui:SettingsExpanderItem> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<ui:SettingsExpanderItem Content="Notification" IconSource="CommentAdd" |
|
|
|
|
|
|
|
Margin="4,0,4,4"> |
|
|
|
<ui:SettingsExpanderItem.Footer> |
|
|
|
<ui:SettingsExpanderItem.Footer> |
|
|
|
<Button |
|
|
|
<Button |
|
|
|
|
|
|
|
Margin="0, 8" |
|
|
|
Command="{Binding DebugNotificationCommand}" |
|
|
|
Command="{Binding DebugNotificationCommand}" |
|
|
|
Content="New Notification"/> |
|
|
|
Content="New Notification"/> |
|
|
|
</ui:SettingsExpanderItem.Footer> |
|
|
|
</ui:SettingsExpanderItem.Footer> |
|
|
|
</ui:SettingsExpanderItem> |
|
|
|
</ui:SettingsExpanderItem> |
|
|
|
|
|
|
|
|
|
|
|
<ui:SettingsExpanderItem Content="Content Dialog" IconSource="NewWindow"> |
|
|
|
<ui:SettingsExpanderItem Content="Content Dialog" IconSource="NewWindow" |
|
|
|
|
|
|
|
Margin="4,0,4,4"> |
|
|
|
<ui:SettingsExpanderItem.Footer> |
|
|
|
<ui:SettingsExpanderItem.Footer> |
|
|
|
<Button |
|
|
|
<Button |
|
|
|
|
|
|
|
Margin="0, 8" |
|
|
|
Command="{Binding DebugContentDialogCommand}" |
|
|
|
Command="{Binding DebugContentDialogCommand}" |
|
|
|
Content="Show Dialog"/> |
|
|
|
Content="Show Dialog"/> |
|
|
|
</ui:SettingsExpanderItem.Footer> |
|
|
|
</ui:SettingsExpanderItem.Footer> |
|
|
|
</ui:SettingsExpanderItem> |
|
|
|
</ui:SettingsExpanderItem> |
|
|
|
|
|
|
|
|
|
|
|
<ui:SettingsExpanderItem Content="Exceptions" IconSource="Flag"> |
|
|
|
<ui:SettingsExpanderItem Content="Exceptions" IconSource="Flag" |
|
|
|
|
|
|
|
Margin="4,0,4,4"> |
|
|
|
<ui:SettingsExpanderItem.Footer> |
|
|
|
<ui:SettingsExpanderItem.Footer> |
|
|
|
<SplitButton |
|
|
|
<SplitButton |
|
|
|
|
|
|
|
Margin="0, 8" |
|
|
|
Command="{Binding DebugThrowExceptionCommand}" |
|
|
|
Command="{Binding DebugThrowExceptionCommand}" |
|
|
|
Content="Command Exception"> |
|
|
|
Content="Command Exception"> |
|
|
|
|
|
|
|
|
|
|
@ -269,7 +289,7 @@ |
|
|
|
|
|
|
|
|
|
|
|
<!-- TODO: Directories card --> |
|
|
|
<!-- TODO: Directories card --> |
|
|
|
|
|
|
|
|
|
|
|
<Grid RowDefinitions="auto,*" Margin="0,4,0,0"> |
|
|
|
<Grid Grid.Row="6" RowDefinitions="auto,*" Margin="0,4,0,0"> |
|
|
|
<StackPanel |
|
|
|
<StackPanel |
|
|
|
Grid.Row="1" |
|
|
|
Grid.Row="1" |
|
|
|
HorizontalAlignment="Left" |
|
|
|
HorizontalAlignment="Left" |
|
|
@ -316,9 +336,7 @@ |
|
|
|
</Grid> |
|
|
|
</Grid> |
|
|
|
|
|
|
|
|
|
|
|
<!-- Extra space at the bottom --> |
|
|
|
<!-- Extra space at the bottom --> |
|
|
|
<Panel Margin="0,0,0,16" /> |
|
|
|
<Panel Grid.Row="7" Margin="0,0,0,16" /> |
|
|
|
|
|
|
|
|
|
|
|
</StackPanel> |
|
|
|
|
|
|
|
</Grid> |
|
|
|
</Grid> |
|
|
|
</ScrollViewer> |
|
|
|
</ScrollViewer> |
|
|
|
</Grid> |
|
|
|
</Grid> |
|
|
|