File tree Expand file tree Collapse file tree 2 files changed +10
-4
lines changed Expand file tree Collapse file tree 2 files changed +10
-4
lines changed Original file line number Diff line number Diff line change 1469
1469
<Setter .Value>
1470
1470
<ControlTemplate TargetType =" ui:ToggleSwitch" >
1471
1471
<Border
1472
+ Width =" Auto"
1472
1473
Background =" {TemplateBinding Background}"
1473
1474
BorderBrush =" {TemplateBinding BorderBrush}"
1474
1475
BorderThickness =" {TemplateBinding BorderThickness}"
1498
1499
Visibility =" Collapsed" />
1499
1500
<Grid
1500
1501
Grid.Row=" 1"
1501
- MinWidth =" {DynamicResource ToggleSwitchThemeMinWidth} "
1502
+ MinWidth =" 10 "
1502
1503
HorizontalAlignment =" Right"
1503
1504
VerticalAlignment =" Top" >
1504
1505
1509
1510
</Grid .RowDefinitions>
1510
1511
1511
1512
<Grid .ColumnDefinitions>
1512
- <ColumnDefinition Width =" * " />
1513
+ <ColumnDefinition Width =" Auto " />
1513
1514
<ColumnDefinition Width =" 12" MaxWidth =" 12" />
1514
1515
<ColumnDefinition Width =" Auto" />
1515
1516
</Grid .ColumnDefinitions>
Original file line number Diff line number Diff line change 992
992
<Border >
993
993
<Button
994
994
x : Name =" PriorityButton"
995
- Margin =" 0,0,0 ,0"
995
+ Margin =" 0,0,18 ,0"
996
996
VerticalAlignment =" Center"
997
997
Click =" OnPluginPriorityClick"
998
998
Content =" {Binding Priority, UpdateSourceTrigger=PropertyChanged}"
1023
1023
</Border >
1024
1024
</StackPanel >
1025
1025
<DockPanel Grid.Column=" 3" >
1026
- <ui : ToggleSwitch HorizontalAlignment =" Right" IsOn =" {Binding PluginState}" />
1026
+ <ui : ToggleSwitch
1027
+ Margin =" 0,0,6,0"
1028
+ HorizontalAlignment =" Right"
1029
+ IsOn =" {Binding PluginState}"
1030
+ OffContent =" {DynamicResource disable}"
1031
+ OnContent =" {DynamicResource enable}" />
1027
1032
</DockPanel >
1028
1033
</Grid >
1029
1034
You can’t perform that action at this time.
0 commit comments