mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
Add hotkey control type & format xaml
This commit is contained in:
parent
b1ec0bda61
commit
2c5fcf7b9f
1 changed files with 13 additions and 12 deletions
|
|
@ -58,9 +58,9 @@
|
||||||
</Button>
|
</Button>
|
||||||
</Grid>
|
</Grid>
|
||||||
</StackPanel>
|
</StackPanel>
|
||||||
<StackPanel Margin="26,0,26,0">
|
<StackPanel Margin="26 0 26 0">
|
||||||
<TextBlock
|
<TextBlock
|
||||||
Margin="0,0,0,12"
|
Margin="0 0 0 12"
|
||||||
FontSize="20"
|
FontSize="20"
|
||||||
FontWeight="SemiBold"
|
FontWeight="SemiBold"
|
||||||
Text="{DynamicResource customeQueryHotkeyTitle}"
|
Text="{DynamicResource customeQueryHotkeyTitle}"
|
||||||
|
|
@ -72,10 +72,10 @@
|
||||||
TextWrapping="WrapWithOverflow" />
|
TextWrapping="WrapWithOverflow" />
|
||||||
<Image
|
<Image
|
||||||
Width="478"
|
Width="478"
|
||||||
Margin="0,20,0,0"
|
Margin="0 20 0 0"
|
||||||
Source="/Images/illustration_01.png" />
|
Source="/Images/illustration_01.png" />
|
||||||
|
|
||||||
<Grid Width="478" Margin="0,20,0,0">
|
<Grid Width="478" Margin="0 20 0 0">
|
||||||
<Grid.RowDefinitions>
|
<Grid.RowDefinitions>
|
||||||
<RowDefinition />
|
<RowDefinition />
|
||||||
<RowDefinition />
|
<RowDefinition />
|
||||||
|
|
@ -99,11 +99,12 @@
|
||||||
Grid.Row="0"
|
Grid.Row="0"
|
||||||
Grid.Column="1"
|
Grid.Column="1"
|
||||||
Grid.ColumnSpan="2"
|
Grid.ColumnSpan="2"
|
||||||
Margin="10,0,10,0"
|
Margin="10 0 10 0"
|
||||||
HorizontalAlignment="Left"
|
HorizontalAlignment="Left"
|
||||||
VerticalAlignment="Center"
|
VerticalAlignment="Center"
|
||||||
HorizontalContentAlignment="Left"
|
HorizontalContentAlignment="Left"
|
||||||
DefaultHotkey="" />
|
DefaultHotkey=""
|
||||||
|
Type="None" />
|
||||||
<TextBlock
|
<TextBlock
|
||||||
Grid.Row="1"
|
Grid.Row="1"
|
||||||
Grid.Column="0"
|
Grid.Column="0"
|
||||||
|
|
@ -123,8 +124,8 @@
|
||||||
x:Name="btnTestActionKeyword"
|
x:Name="btnTestActionKeyword"
|
||||||
Grid.Row="1"
|
Grid.Row="1"
|
||||||
Grid.Column="2"
|
Grid.Column="2"
|
||||||
Margin="0,0,10,0"
|
Margin="0 0 10 0"
|
||||||
Padding="10,5,10,5"
|
Padding="10 5 10 5"
|
||||||
Click="BtnTestActionKeyword_OnClick"
|
Click="BtnTestActionKeyword_OnClick"
|
||||||
Content="{DynamicResource preview}" />
|
Content="{DynamicResource preview}" />
|
||||||
</Grid>
|
</Grid>
|
||||||
|
|
@ -132,21 +133,21 @@
|
||||||
</StackPanel>
|
</StackPanel>
|
||||||
<Border
|
<Border
|
||||||
Grid.Row="1"
|
Grid.Row="1"
|
||||||
Margin="0,14,0,0"
|
Margin="0 14 0 0"
|
||||||
Background="{DynamicResource PopupButtonAreaBGColor}"
|
Background="{DynamicResource PopupButtonAreaBGColor}"
|
||||||
BorderBrush="{DynamicResource PopupButtonAreaBorderColor}"
|
BorderBrush="{DynamicResource PopupButtonAreaBorderColor}"
|
||||||
BorderThickness="0,1,0,0">
|
BorderThickness="0 1 0 0">
|
||||||
<StackPanel HorizontalAlignment="Center" Orientation="Horizontal">
|
<StackPanel HorizontalAlignment="Center" Orientation="Horizontal">
|
||||||
<Button
|
<Button
|
||||||
x:Name="btnCancel"
|
x:Name="btnCancel"
|
||||||
MinWidth="140"
|
MinWidth="140"
|
||||||
Margin="10,0,5,0"
|
Margin="10 0 5 0"
|
||||||
Click="BtnCancel_OnClick"
|
Click="BtnCancel_OnClick"
|
||||||
Content="{DynamicResource cancel}" />
|
Content="{DynamicResource cancel}" />
|
||||||
<Button
|
<Button
|
||||||
x:Name="btnAdd"
|
x:Name="btnAdd"
|
||||||
MinWidth="140"
|
MinWidth="140"
|
||||||
Margin="5,0,10,0"
|
Margin="5 0 10 0"
|
||||||
Click="btnAdd_OnClick"
|
Click="btnAdd_OnClick"
|
||||||
Style="{StaticResource AccentButtonStyle}">
|
Style="{StaticResource AccentButtonStyle}">
|
||||||
<TextBlock x:Name="lblAdd" Text="{DynamicResource done}" />
|
<TextBlock x:Name="lblAdd" Text="{DynamicResource done}" />
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue