UI: Clean up AXAML code

* Remove unused namespaces
* Remove redundant attached property setters
* Use IsCheckedChanged in lieu of the obsolete Checked
* Optimize row & column definitions
This commit is contained in:
KeatonTheBot
2025-02-06 19:33:45 -06:00
parent da0c6c57f9
commit 69a1419be5
34 changed files with 204 additions and 505 deletions
@@ -12,16 +12,9 @@
x:DataType="applet:ControllerAppletDialog">
<Grid
HorizontalAlignment="Stretch"
VerticalAlignment="Stretch">
<Grid.RowDefinitions>
<RowDefinition Height="Auto" />
<RowDefinition Height="*" />
<RowDefinition Height="Auto" />
</Grid.RowDefinitions>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="*" />
<ColumnDefinition Width="Auto" />
</Grid.ColumnDefinitions>
VerticalAlignment="Stretch"
RowDefinitions="Auto,*,Auto"
ColumnDefinitions="*,Auto">
<Border
Grid.Column="0"
Grid.Row="0"
+3 -10
View File
@@ -17,16 +17,9 @@
<Grid
Margin="20"
HorizontalAlignment="Stretch"
VerticalAlignment="Stretch">
<Grid.RowDefinitions>
<RowDefinition Height="Auto" />
<RowDefinition Height="*" />
<RowDefinition Height="Auto" />
</Grid.RowDefinitions>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="Auto" />
<ColumnDefinition />
</Grid.ColumnDefinitions>
VerticalAlignment="Stretch"
RowDefinitions="Auto,*,Auto"
ColumnDefinitions="Auto,*">
<Image
Grid.Row="1"
Grid.RowSpan="2"
+4 -13
View File
@@ -12,21 +12,12 @@
<Grid
Margin="20"
HorizontalAlignment="Stretch"
VerticalAlignment="Stretch">
<Grid.RowDefinitions>
<RowDefinition Height="Auto" />
<RowDefinition Height="Auto" />
<RowDefinition Height="Auto" />
<RowDefinition Height="Auto" />
<RowDefinition Height="Auto" />
</Grid.RowDefinitions>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="Auto" />
<ColumnDefinition />
</Grid.ColumnDefinitions>
VerticalAlignment="Stretch"
RowDefinitions="Auto,Auto,Auto,Auto,Auto"
ColumnDefinitions="Auto,*">
<Image
Grid.Row="1"
Grid.RowSpan="5"
Grid.RowSpan="4"
Height="80"
MinWidth="50"
Margin="5,10,20,10"