Skip to content

Commit 2c5fcf7

Browse files
committed
Add hotkey control type & format xaml
1 parent b1ec0bd commit 2c5fcf7

File tree

1 file changed

+13
-12
lines changed

1 file changed

+13
-12
lines changed

Flow.Launcher/CustomQueryHotkeySetting.xaml

Lines changed: 13 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -58,9 +58,9 @@
5858
</Button>
5959
</Grid>
6060
</StackPanel>
61-
<StackPanel Margin="26,0,26,0">
61+
<StackPanel Margin="26 0 26 0">
6262
<TextBlock
63-
Margin="0,0,0,12"
63+
Margin="0 0 0 12"
6464
FontSize="20"
6565
FontWeight="SemiBold"
6666
Text="{DynamicResource customeQueryHotkeyTitle}"
@@ -72,10 +72,10 @@
7272
TextWrapping="WrapWithOverflow" />
7373
<Image
7474
Width="478"
75-
Margin="0,20,0,0"
75+
Margin="0 20 0 0"
7676
Source="/Images/illustration_01.png" />
7777

78-
<Grid Width="478" Margin="0,20,0,0">
78+
<Grid Width="478" Margin="0 20 0 0">
7979
<Grid.RowDefinitions>
8080
<RowDefinition />
8181
<RowDefinition />
@@ -99,11 +99,12 @@
9999
Grid.Row="0"
100100
Grid.Column="1"
101101
Grid.ColumnSpan="2"
102-
Margin="10,0,10,0"
102+
Margin="10 0 10 0"
103103
HorizontalAlignment="Left"
104104
VerticalAlignment="Center"
105105
HorizontalContentAlignment="Left"
106-
DefaultHotkey="" />
106+
DefaultHotkey=""
107+
Type="None" />
107108
<TextBlock
108109
Grid.Row="1"
109110
Grid.Column="0"
@@ -123,30 +124,30 @@
123124
x:Name="btnTestActionKeyword"
124125
Grid.Row="1"
125126
Grid.Column="2"
126-
Margin="0,0,10,0"
127-
Padding="10,5,10,5"
127+
Margin="0 0 10 0"
128+
Padding="10 5 10 5"
128129
Click="BtnTestActionKeyword_OnClick"
129130
Content="{DynamicResource preview}" />
130131
</Grid>
131132
</StackPanel>
132133
</StackPanel>
133134
<Border
134135
Grid.Row="1"
135-
Margin="0,14,0,0"
136+
Margin="0 14 0 0"
136137
Background="{DynamicResource PopupButtonAreaBGColor}"
137138
BorderBrush="{DynamicResource PopupButtonAreaBorderColor}"
138-
BorderThickness="0,1,0,0">
139+
BorderThickness="0 1 0 0">
139140
<StackPanel HorizontalAlignment="Center" Orientation="Horizontal">
140141
<Button
141142
x:Name="btnCancel"
142143
MinWidth="140"
143-
Margin="10,0,5,0"
144+
Margin="10 0 5 0"
144145
Click="BtnCancel_OnClick"
145146
Content="{DynamicResource cancel}" />
146147
<Button
147148
x:Name="btnAdd"
148149
MinWidth="140"
149-
Margin="5,0,10,0"
150+
Margin="5 0 10 0"
150151
Click="btnAdd_OnClick"
151152
Style="{StaticResource AccentButtonStyle}">
152153
<TextBlock x:Name="lblAdd" Text="{DynamicResource done}" />

0 commit comments

Comments
 (0)