Skip to content

Commit 994d7eb

Browse files
committed
- Add "%f" tip text and adjust string
- Adjust Window Size
1 parent 0cdeb71 commit 994d7eb

File tree

2 files changed

+15
-6
lines changed

2 files changed

+15
-6
lines changed

Flow.Launcher/Languages/en.xaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -139,11 +139,12 @@
139139
<!-- FileManager Setting Dialog -->
140140
<system:String x:Key="fileManagerWindow">Select File Manager</system:String>
141141
<system:String x:Key="fileManager_tips">Please specify the file location of the file manager you using and add arguments if necessary. The default arguments is &quot;%d&quot;, and a path is entered at that location. For example, If a command is required such as &quot;totalcmd.exe /A c:\windows&quot;, Argument is /A &quot;%d&quot;.</system:String>
142+
<system:String x:Key="fileManager_tips2">&quot;%f&quot; is an argument that represent the file path. It is used to emphasize the file/folder name when opening a specific file location in 3rd party file manager. This Argument is only available in the &quot;Arg for File&quot; item. If the file manager does not have that function, you can use &quot;%d&quot;.</system:String>
142143
<system:String x:Key="fileManager_name">File Manager</system:String>
143144
<system:String x:Key="fileManager_profile_name">Profile Name</system:String>
144145
<system:String x:Key="fileManager_path">File Manager Path</system:String>
145-
<system:String x:Key="fileManager_directory_arg">Arguments For Folder</system:String>
146-
<system:String x:Key="fileManager_file_arg">Arguments For File</system:String>
146+
<system:String x:Key="fileManager_directory_arg">Arg For Folder</system:String>
147+
<system:String x:Key="fileManager_file_arg">Arg For File</system:String>
147148

148149
<!-- Priority Setting Dialog -->
149150
<system:String x:Key="changePriorityWindow">Change Priority</system:String>

Flow.Launcher/SelectFileManagerWindow.xaml

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,12 @@
4242
Text="{DynamicResource fileManager_tips}"
4343
TextAlignment="Left"
4444
TextWrapping="WrapWithOverflow" />
45+
<TextBlock
46+
Margin="0,14,0,0"
47+
FontSize="14"
48+
Foreground="#1b1b1b">
49+
<TextBlock Text="{DynamicResource fileManager_tips2}" TextWrapping="WrapWithOverflow" />
50+
</TextBlock>
4551
</StackPanel>
4652

4753
<StackPanel Margin="14,28,0,0" Orientation="Horizontal">
@@ -88,7 +94,7 @@
8894
Orientation="Horizontal">
8995
<Grid Width="545">
9096
<Grid.ColumnDefinitions>
91-
<ColumnDefinition Width="200" />
97+
<ColumnDefinition Width="180" />
9298
<ColumnDefinition />
9399
</Grid.ColumnDefinitions>
94100
<Grid.RowDefinitions>
@@ -126,7 +132,7 @@
126132
<DockPanel Grid.Row="1" Grid.Column="1">
127133
<TextBox
128134
x:Name="PathTextBox"
129-
Width="230"
135+
Width="250"
130136
Margin="10,10,10,0"
131137
HorizontalAlignment="Stretch"
132138
VerticalAlignment="Center"
@@ -159,7 +165,8 @@
159165
HorizontalAlignment="Left"
160166
VerticalAlignment="Center"
161167
FontSize="14"
162-
Text="{DynamicResource fileManager_directory_arg}" />
168+
Text="{DynamicResource fileManager_directory_arg}"
169+
TextWrapping="WrapWithOverflow" />
163170
<TextBox
164171
x:Name="directoryArgTextBox"
165172
Grid.Row="2"
@@ -177,7 +184,8 @@
177184
HorizontalAlignment="Left"
178185
VerticalAlignment="Center"
179186
FontSize="14"
180-
Text="{DynamicResource fileManager_file_arg}" />
187+
Text="{DynamicResource fileManager_file_arg}"
188+
TextWrapping="WrapWithOverflow" />
181189
<TextBox
182190
x:Name="fileArgTextBox"
183191
Grid.Row="3"

0 commit comments

Comments
 (0)