Skip to content

Commit b559ad1

Browse files
committed
Adjust Text / Change Button / Add Layout
1 parent 750cfa4 commit b559ad1

File tree

2 files changed

+50
-5
lines changed

2 files changed

+50
-5
lines changed

Plugins/Flow.Launcher.Plugin.Program/Languages/en.xaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
<system:String x:Key="flowlauncher_plugin_program_disable">Disable</system:String>
1313
<system:String x:Key="flowlauncher_plugin_program_location">Location</system:String>
1414
<system:String x:Key="flowlauncher_plugin_program_all_programs">All Programs</system:String>
15-
<system:String x:Key="flowlauncher_plugin_program_suffixes">File Suffixes</system:String>
15+
<system:String x:Key="flowlauncher_plugin_program_suffixes">File Type</system:String>
1616
<system:String x:Key="flowlauncher_plugin_program_reindex">Reindex</system:String>
1717
<system:String x:Key="flowlauncher_plugin_program_indexing">Indexing</system:String>
1818
<system:String x:Key="flowlauncher_plugin_program_index_start">Index Start Menu</system:String>
@@ -35,7 +35,7 @@
3535
<system:String x:Key="flowlauncher_plugin_program_delete_program_source">Are you sure you want to delete the selected program sources?</system:String>
3636

3737
<system:String x:Key="flowlauncher_plugin_program_update">OK</system:String>
38-
<system:String x:Key="flowlauncher_plugin_program_only_index_tip">Flow Launcher will only index files that end with the following suffixes. (Each suffix should split by ';' )</system:String>
38+
<system:String x:Key="flowlauncher_plugin_program_only_index_tip">Flow Launcher will only index files that end with the following file types.</system:String>
3939
<system:String x:Key="flowlauncher_plugin_program_update_file_suffixes">Successfully updated file suffixes</system:String>
4040
<system:String x:Key="flowlauncher_plugin_program_suffixes_cannot_empty">File suffixes can't be empty</system:String>
4141

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

Lines changed: 48 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
66
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
77
Title="{DynamicResource flowlauncher_plugin_program_suffixes}"
8-
Width="400"
8+
Width="700"
99
Background="{DynamicResource PopuBGColor}"
1010
Foreground="{DynamicResource PopupTextColor}"
1111
ResizeMode="NoResize"
@@ -17,7 +17,7 @@
1717
</WindowChrome.WindowChrome>
1818
<Grid>
1919
<Grid.RowDefinitions>
20-
<RowDefinition />
20+
<RowDefinition Height="auto" />
2121
<RowDefinition Height="80" />
2222
</Grid.RowDefinitions>
2323

@@ -55,7 +55,9 @@
5555
</Grid>
5656
</StackPanel>
5757
<StackPanel Margin="26,12,26,0">
58+
5859
<StackPanel Margin="0,0,0,12">
60+
5961
<TextBlock
6062
Grid.Column="0"
6163
Margin="0,0,0,0"
@@ -68,7 +70,50 @@
6870
FontSize="14"
6971
Text="{DynamicResource flowlauncher_plugin_program_only_index_tip}"
7072
TextWrapping="Wrap" />
71-
<TextBox x:Name="tbSuffixes" Margin="0,20,0,20" />
73+
<!--
74+
<TextBox x:Name="tbSuffixes" Margin="0,20,0,20" />
75+
-->
76+
<Grid Margin="0,12,0,12">
77+
<Grid.ColumnDefinitions>
78+
<ColumnDefinition Width="290" />
79+
<ColumnDefinition Width="290" />
80+
</Grid.ColumnDefinitions>
81+
82+
<StackPanel Grid.Column="0" Margin="12,0,0,0">
83+
<TextBlock
84+
Margin="0,0,0,8"
85+
FontSize="18"
86+
FontWeight="SemiBold">
87+
Excutable Types
88+
</TextBlock>
89+
<CheckBox Name="apprefMS" Margin="20,0,0,0">appref-ms</CheckBox>
90+
<CheckBox Name="EXE" Margin="20,0,0,0">EXE</CheckBox>
91+
<CheckBox Name="LNK" Margin="20,0,0,0">Lnk</CheckBox>
92+
<CheckBox Name="CustomFiles" Margin="20,0,0,0">Custom File Types</CheckBox>
93+
<TextBox x:Name="tbSuffixes" Margin="20,4,0,20" />
94+
</StackPanel>
95+
96+
<Border
97+
Grid.Column="1"
98+
Margin="12,0,0,0"
99+
Padding="20,0,0,0"
100+
BorderBrush="Black"
101+
BorderThickness="1,0,0,0">
102+
<StackPanel>
103+
<TextBlock
104+
Margin="0,0,0,8"
105+
FontSize="18"
106+
FontWeight="SemiBold">
107+
URL Types
108+
</TextBlock>
109+
<CheckBox Name="steam" Margin="20,0,0,0">Steam Games</CheckBox>
110+
<CheckBox Name="epic" Margin="20,0,0,0">Epic Games</CheckBox>
111+
<CheckBox Name="http" Margin="20,0,0,0">Http/Https</CheckBox>
112+
<CheckBox Name="CustomProtocol" Margin="20,0,0,0">Custom URL Protocols</CheckBox>
113+
<TextBox x:Name="tbProtocols" Margin="0,4,0,20" />
114+
</StackPanel>
115+
</Border>
116+
</Grid>
72117
</StackPanel>
73118
</StackPanel>
74119
<Border

0 commit comments

Comments
 (0)