mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
- Adjust Priority Button Position
This commit is contained in:
parent
8bef59e0fc
commit
8afe48f74a
2 changed files with 10 additions and 4 deletions
|
|
@ -1469,6 +1469,7 @@
|
|||
<Setter.Value>
|
||||
<ControlTemplate TargetType="ui:ToggleSwitch">
|
||||
<Border
|
||||
Width="Auto"
|
||||
Background="{TemplateBinding Background}"
|
||||
BorderBrush="{TemplateBinding BorderBrush}"
|
||||
BorderThickness="{TemplateBinding BorderThickness}"
|
||||
|
|
@ -1498,7 +1499,7 @@
|
|||
Visibility="Collapsed" />
|
||||
<Grid
|
||||
Grid.Row="1"
|
||||
MinWidth="{DynamicResource ToggleSwitchThemeMinWidth}"
|
||||
MinWidth="10"
|
||||
HorizontalAlignment="Right"
|
||||
VerticalAlignment="Top">
|
||||
|
||||
|
|
@ -1509,7 +1510,7 @@
|
|||
</Grid.RowDefinitions>
|
||||
|
||||
<Grid.ColumnDefinitions>
|
||||
<ColumnDefinition Width="*" />
|
||||
<ColumnDefinition Width="Auto" />
|
||||
<ColumnDefinition Width="12" MaxWidth="12" />
|
||||
<ColumnDefinition Width="Auto" />
|
||||
</Grid.ColumnDefinitions>
|
||||
|
|
|
|||
|
|
@ -992,7 +992,7 @@
|
|||
<Border>
|
||||
<Button
|
||||
x:Name="PriorityButton"
|
||||
Margin="0,0,0,0"
|
||||
Margin="0,0,18,0"
|
||||
VerticalAlignment="Center"
|
||||
Click="OnPluginPriorityClick"
|
||||
Content="{Binding Priority, UpdateSourceTrigger=PropertyChanged}"
|
||||
|
|
@ -1023,7 +1023,12 @@
|
|||
</Border>
|
||||
</StackPanel>
|
||||
<DockPanel Grid.Column="3">
|
||||
<ui:ToggleSwitch HorizontalAlignment="Right" IsOn="{Binding PluginState}" />
|
||||
<ui:ToggleSwitch
|
||||
Margin="0,0,6,0"
|
||||
HorizontalAlignment="Right"
|
||||
IsOn="{Binding PluginState}"
|
||||
OffContent="{DynamicResource disable}"
|
||||
OnContent="{DynamicResource enable}" />
|
||||
</DockPanel>
|
||||
</Grid>
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue