Adjust Text / Change Button / Add Layout

This commit is contained in:
DB p 2022-10-22 15:39:40 +09:00
parent 750cfa44c1
commit b559ad1980
2 changed files with 50 additions and 5 deletions

View file

@ -12,7 +12,7 @@
<system:String x:Key="flowlauncher_plugin_program_disable">Disable</system:String>
<system:String x:Key="flowlauncher_plugin_program_location">Location</system:String>
<system:String x:Key="flowlauncher_plugin_program_all_programs">All Programs</system:String>
<system:String x:Key="flowlauncher_plugin_program_suffixes">File Suffixes</system:String>
<system:String x:Key="flowlauncher_plugin_program_suffixes">File Type</system:String>
<system:String x:Key="flowlauncher_plugin_program_reindex">Reindex</system:String>
<system:String x:Key="flowlauncher_plugin_program_indexing">Indexing</system:String>
<system:String x:Key="flowlauncher_plugin_program_index_start">Index Start Menu</system:String>
@ -35,7 +35,7 @@
<system:String x:Key="flowlauncher_plugin_program_delete_program_source">Are you sure you want to delete the selected program sources?</system:String>
<system:String x:Key="flowlauncher_plugin_program_update">OK</system:String>
<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>
<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>
<system:String x:Key="flowlauncher_plugin_program_update_file_suffixes">Successfully updated file suffixes</system:String>
<system:String x:Key="flowlauncher_plugin_program_suffixes_cannot_empty">File suffixes can't be empty</system:String>

View file

@ -5,7 +5,7 @@
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
Title="{DynamicResource flowlauncher_plugin_program_suffixes}"
Width="400"
Width="700"
Background="{DynamicResource PopuBGColor}"
Foreground="{DynamicResource PopupTextColor}"
ResizeMode="NoResize"
@ -17,7 +17,7 @@
</WindowChrome.WindowChrome>
<Grid>
<Grid.RowDefinitions>
<RowDefinition />
<RowDefinition Height="auto" />
<RowDefinition Height="80" />
</Grid.RowDefinitions>
@ -55,7 +55,9 @@
</Grid>
</StackPanel>
<StackPanel Margin="26,12,26,0">
<StackPanel Margin="0,0,0,12">
<TextBlock
Grid.Column="0"
Margin="0,0,0,0"
@ -68,7 +70,50 @@
FontSize="14"
Text="{DynamicResource flowlauncher_plugin_program_only_index_tip}"
TextWrapping="Wrap" />
<TextBox x:Name="tbSuffixes" Margin="0,20,0,20" />
<!--
<TextBox x:Name="tbSuffixes" Margin="0,20,0,20" />
-->
<Grid Margin="0,12,0,12">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="290" />
<ColumnDefinition Width="290" />
</Grid.ColumnDefinitions>
<StackPanel Grid.Column="0" Margin="12,0,0,0">
<TextBlock
Margin="0,0,0,8"
FontSize="18"
FontWeight="SemiBold">
Excutable Types
</TextBlock>
<CheckBox Name="apprefMS" Margin="20,0,0,0">appref-ms</CheckBox>
<CheckBox Name="EXE" Margin="20,0,0,0">EXE</CheckBox>
<CheckBox Name="LNK" Margin="20,0,0,0">Lnk</CheckBox>
<CheckBox Name="CustomFiles" Margin="20,0,0,0">Custom File Types</CheckBox>
<TextBox x:Name="tbSuffixes" Margin="20,4,0,20" />
</StackPanel>
<Border
Grid.Column="1"
Margin="12,0,0,0"
Padding="20,0,0,0"
BorderBrush="Black"
BorderThickness="1,0,0,0">
<StackPanel>
<TextBlock
Margin="0,0,0,8"
FontSize="18"
FontWeight="SemiBold">
URL Types
</TextBlock>
<CheckBox Name="steam" Margin="20,0,0,0">Steam Games</CheckBox>
<CheckBox Name="epic" Margin="20,0,0,0">Epic Games</CheckBox>
<CheckBox Name="http" Margin="20,0,0,0">Http/Https</CheckBox>
<CheckBox Name="CustomProtocol" Margin="20,0,0,0">Custom URL Protocols</CheckBox>
<TextBox x:Name="tbProtocols" Margin="0,4,0,20" />
</StackPanel>
</Border>
</Grid>
</StackPanel>
</StackPanel>
<Border