Skip to content

Commit 87eca00

Browse files
authored
Merge pull request #1552 from onesounds/FixFileTypeWindowInProgramPlugin
Adjust Center Line in Program suffixes window
2 parents 575fb73 + 4ba027d commit 87eca00

File tree

1 file changed

+40
-13
lines changed

1 file changed

+40
-13
lines changed

Plugins/Flow.Launcher.Plugin.Program/ProgramSuffixes.xaml

Lines changed: 40 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88
Title="{DynamicResource flowlauncher_plugin_program_suffixes}"
99
Width="600"
1010
Background="{DynamicResource PopuBGColor}"
11-
Foreground="{DynamicResource PopupTextColor}"
1211
DataContext="{Binding RelativeSource={RelativeSource Self}}"
12+
Foreground="{DynamicResource PopupTextColor}"
1313
ResizeMode="NoResize"
1414
SizeToContent="Height"
1515
WindowStartupLocation="CenterScreen"
@@ -163,17 +163,32 @@
163163
FontSize="16"
164164
FontWeight="SemiBold"
165165
Text="{DynamicResource flowlauncher_plugin_program_suffixes_excutable_types}" />
166-
<CheckBox Name="apprefMS" Margin="10,0,0,0" IsChecked="{Binding SuffixesStatus[appref-ms]}">appref-ms</CheckBox>
167-
<CheckBox Name="exe" Margin="10,0,0,0" IsChecked="{Binding SuffixesStatus[exe]}">exe</CheckBox>
168-
<CheckBox Name="lnk" Margin="10,0,0,0" IsChecked="{Binding SuffixesStatus[lnk]}">lnk</CheckBox>
166+
<CheckBox
167+
Name="apprefMS"
168+
Margin="10,0,0,0"
169+
IsChecked="{Binding SuffixesStatus[appref-ms]}">
170+
appref-ms
171+
</CheckBox>
172+
<CheckBox
173+
Name="exe"
174+
Margin="10,0,0,0"
175+
IsChecked="{Binding SuffixesStatus[exe]}">
176+
exe
177+
</CheckBox>
178+
<CheckBox
179+
Name="lnk"
180+
Margin="10,0,0,0"
181+
IsChecked="{Binding SuffixesStatus[lnk]}">
182+
lnk
183+
</CheckBox>
169184
<CheckBox
170185
Name="CustomFiles"
171186
Margin="10,0,0,0"
172-
IsChecked="{Binding UseCustomSuffixes}"
173-
Content="{DynamicResource flowlauncher_plugin_program_suffixes_custom_file_types}" />
187+
Content="{DynamicResource flowlauncher_plugin_program_suffixes_custom_file_types}"
188+
IsChecked="{Binding UseCustomSuffixes}" />
174189
<TextBox
175190
x:Name="tbSuffixes"
176-
Margin="10,4,0,6"
191+
Margin="10,4,0,10"
177192
Style="{StaticResource CustomFileTypeTextBox}" />
178193
</StackPanel>
179194

@@ -189,17 +204,29 @@
189204
FontSize="16"
190205
FontWeight="SemiBold"
191206
Text="{DynamicResource flowlauncher_plugin_program_suffixes_URL_types}" />
192-
<CheckBox Name="steam" Margin="10,0,0,0" IsChecked="{Binding ProtocolsStatus[steam]}" Content="{DynamicResource flowlauncher_plugin_program_suffixes_URL_steam}"></CheckBox>
193-
<CheckBox Name="epic" Margin="10,0,0,0" IsChecked="{Binding ProtocolsStatus[epic]}" Content="{DynamicResource flowlauncher_plugin_program_suffixes_URL_epic}"></CheckBox>
194-
<CheckBox Name="http" Margin="10,0,0,0" IsChecked="{Binding ProtocolsStatus[http]}" Content="{DynamicResource flowlauncher_plugin_program_suffixes_URL_http}"></CheckBox>
207+
<CheckBox
208+
Name="steam"
209+
Margin="10,0,0,0"
210+
Content="{DynamicResource flowlauncher_plugin_program_suffixes_URL_steam}"
211+
IsChecked="{Binding ProtocolsStatus[steam]}" />
212+
<CheckBox
213+
Name="epic"
214+
Margin="10,0,0,0"
215+
Content="{DynamicResource flowlauncher_plugin_program_suffixes_URL_epic}"
216+
IsChecked="{Binding ProtocolsStatus[epic]}" />
217+
<CheckBox
218+
Name="http"
219+
Margin="10,0,0,0"
220+
Content="{DynamicResource flowlauncher_plugin_program_suffixes_URL_http}"
221+
IsChecked="{Binding ProtocolsStatus[http]}" />
195222
<CheckBox
196223
Name="CustomProtocol"
197224
Margin="10,0,0,0"
198-
IsChecked="{Binding UseCustomProtocols}"
199-
Content="{DynamicResource flowlauncher_plugin_program_suffixes_custom_urls}" />
225+
Content="{DynamicResource flowlauncher_plugin_program_suffixes_custom_urls}"
226+
IsChecked="{Binding UseCustomProtocols}" />
200227
<TextBox
201228
x:Name="tbProtocols"
202-
Margin="10,4,0,6"
229+
Margin="10,4,0,0"
203230
Style="{StaticResource CustomURLTypeTextBox}" />
204231
</StackPanel>
205232
</Border>

0 commit comments

Comments
 (0)