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 14691469 <Setter .Value>
14701470 <ControlTemplate TargetType =" ui:ToggleSwitch" >
14711471 <Border
1472+ Width =" Auto"
14721473 Background =" {TemplateBinding Background}"
14731474 BorderBrush =" {TemplateBinding BorderBrush}"
14741475 BorderThickness =" {TemplateBinding BorderThickness}"
14981499 Visibility =" Collapsed" />
14991500 <Grid
15001501 Grid.Row=" 1"
1501- MinWidth =" {DynamicResource ToggleSwitchThemeMinWidth} "
1502+ MinWidth =" 10 "
15021503 HorizontalAlignment =" Right"
15031504 VerticalAlignment =" Top" >
15041505
15091510 </Grid .RowDefinitions>
15101511
15111512 <Grid .ColumnDefinitions>
1512- <ColumnDefinition Width =" * " />
1513+ <ColumnDefinition Width =" Auto " />
15131514 <ColumnDefinition Width =" 12" MaxWidth =" 12" />
15141515 <ColumnDefinition Width =" Auto" />
15151516 </Grid .ColumnDefinitions>
Original file line number Diff line number Diff line change 992992 <Border >
993993 <Button
994994 x : Name =" PriorityButton"
995- Margin =" 0,0,0 ,0"
995+ Margin =" 0,0,18 ,0"
996996 VerticalAlignment =" Center"
997997 Click =" OnPluginPriorityClick"
998998 Content =" {Binding Priority, UpdateSourceTrigger=PropertyChanged}"
10231023 </Border >
10241024 </StackPanel >
10251025 <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}" />
10271032 </DockPanel >
10281033 </Grid >
10291034
You can’t perform that action at this time.
0 commit comments