Skip to content

Commit acdca57

Browse files
committed
Update ActionKeyword window
1 parent 2e003f8 commit acdca57

File tree

2 files changed

+17
-18
lines changed

2 files changed

+17
-18
lines changed

Flow.Launcher/ActionKeywords.xaml

Lines changed: 15 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,43 +1,41 @@
1-
<Window x:Class="Flow.Launcher.ActionKeywords"
1+
<Window x:Class="Flow.Launcher.ActionKeywords"
22
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
33
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
44
Title="ActionKeywords"
55
Icon="Images\app.png"
66
ResizeMode="NoResize"
77
Loaded="ActionKeyword_OnLoaded"
88
WindowStartupLocation="CenterScreen"
9-
Height="200" Width="600">
9+
Height="250" Width="500">
1010
<Grid>
1111
<Grid.RowDefinitions>
1212
<RowDefinition />
13-
<RowDefinition />
13+
<RowDefinition Height="60"/>
1414
<RowDefinition />
1515
<RowDefinition />
1616
</Grid.RowDefinitions>
1717
<Grid.ColumnDefinitions>
18-
<ColumnDefinition Width="170" />
18+
<ColumnDefinition Width="150" />
1919
<ColumnDefinition />
2020
</Grid.ColumnDefinitions>
21-
<TextBlock Margin="10" FontSize="14" Grid.Row="0" Grid.Column="0" VerticalAlignment="Center"
22-
HorizontalAlignment="Right" Text="{DynamicResource oldActionKeyword}" />
23-
<TextBlock x:Name="tbOldActionKeyword" Margin="10" FontSize="14" Grid.Row="0" Grid.Column="1"
24-
VerticalAlignment="Center" HorizontalAlignment="Left">
25-
Old ActionKeywords:
26-
</TextBlock>
27-
28-
<TextBlock Margin="10" FontSize="14" Grid.Row="1" Grid.Column="0" VerticalAlignment="Center"
29-
HorizontalAlignment="Right" Text="{DynamicResource newActionKeyword}" />
21+
<TextBlock FontSize="14" Grid.Row="0" Grid.Column="1" VerticalAlignment="Center"
22+
HorizontalAlignment="Left" Text="{DynamicResource actionKeywords}" />
23+
<TextBlock x:Name="tbOldActionKeyword" Grid.Row="0" Grid.Column="1" Margin="170 10 10 10" FontSize="14"
24+
VerticalAlignment="Center" HorizontalAlignment="Left" />
25+
26+
<TextBlock FontSize="14" Grid.Row="1" Grid.Column="1" VerticalAlignment="Center"
27+
HorizontalAlignment="Left" Text="{DynamicResource newActionKeyword}" />
3028
<StackPanel Grid.Row="1" Orientation="Horizontal" Grid.Column="1">
31-
<TextBox x:Name="tbAction" Margin="10" Width="400" VerticalAlignment="Center" HorizontalAlignment="Left" />
29+
<TextBox x:Name="tbAction" Margin="170 15 15 15" Width="105" VerticalAlignment="Center" HorizontalAlignment="Left" />
3230
</StackPanel>
3331

34-
<TextBlock Grid.Row="2" Grid.ColumnSpan="1" Grid.Column="1" Padding="5" Foreground="Gray"
32+
<TextBlock Grid.Row="2" Grid.ColumnSpan="1" Grid.Column="1" Foreground="Gray"
3533
Text="{DynamicResource actionkeyword_tips}" />
3634

3735
<StackPanel Orientation="Horizontal" HorizontalAlignment="Right" Grid.Row="3" Grid.Column="1">
38-
<Button x:Name="btnCancel" Click="BtnCancel_OnClick" Margin="10 0 10 0" Width="80" Height="25"
36+
<Button x:Name="btnCancel" Click="BtnCancel_OnClick" Margin="10 0 10 0" Width="80" Height="30"
3937
Content="{DynamicResource cancel}" />
40-
<Button x:Name="btnDone" Margin="10 0 10 0" Width="80" Height="25" Click="btnDone_OnClick">
38+
<Button x:Name="btnDone" Margin="10 0 10 0" Width="80" Height="30" Click="btnDone_OnClick">
4139
<TextBlock x:Name="lblAdd" Text="{DynamicResource done}" />
4240
</Button>
4341
</StackPanel>

Flow.Launcher/Languages/en.xaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,8 @@
4040
<system:String x:Key="plugin">Plugin</system:String>
4141
<system:String x:Key="browserMorePlugins">Find more plugins</system:String>
4242
<system:String x:Key="disable">Disable</system:String>
43-
<system:String x:Key="actionKeywords">Action keywords</system:String>
43+
<system:String x:Key="actionKeywords">Current action keyword:</system:String>
44+
<system:String x:Key="newActionKeyword">New action keyword:</system:String>
4445
<system:String x:Key="pluginDirectory">Plugin Directory</system:String>
4546
<system:String x:Key="author">Author</system:String>
4647
<system:String x:Key="plugin_init_time">Init time: {0}ms</system:String>

0 commit comments

Comments
 (0)