|
5 | 5 | xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
6 | 6 | xmlns:program="clr-namespace:Flow.Launcher.Plugin.Program"
|
7 | 7 | mc:Ignorable="d"
|
8 |
| - d:DesignHeight="300" d:DesignWidth="600"> |
| 8 | + d:DesignHeight="404.508" d:DesignWidth="600"> |
9 | 9 | <Grid Margin="10">
|
10 | 10 | <Grid.RowDefinitions>
|
11 | 11 | <RowDefinition Height="75"/>
|
12 | 12 | <RowDefinition Height="*"/>
|
13 | 13 | <RowDefinition Height="50"/>
|
| 14 | + <RowDefinition Height="50"/> |
14 | 15 | </Grid.RowDefinitions>
|
15 | 16 | <StackPanel Grid.Row="0" Orientation="Horizontal" HorizontalAlignment="Stretch">
|
16 | 17 | <StackPanel Orientation="Vertical" Width="205">
|
|
24 | 25 | </StackPanel>
|
25 | 26 | </StackPanel>
|
26 | 27 | <ListView x:Name="programSourceView" Grid.Row="1" AllowDrop="True" SelectionMode="Extended" Style="{StaticResource {x:Static GridView.GridViewStyleKey}}"
|
27 |
| - Margin="0 13 0 0" |
| 28 | + Margin="0,13,0,10" |
28 | 29 | BorderBrush="DarkGray"
|
29 | 30 | BorderThickness="1"
|
30 | 31 | GridViewColumnHeader.Click="GridViewColumnHeaderClickedHandler"
|
|
63 | 64 | </GridView>
|
64 | 65 | </ListView.View>
|
65 | 66 | </ListView>
|
66 |
| - <DockPanel Grid.Row="2"> |
| 67 | + <DockPanel Grid.Row="2" Margin="0,0,0,0" Grid.RowSpan="1"> |
67 | 68 | <StackPanel x:Name="indexingPanel" Visibility="Hidden" HorizontalAlignment="Left" Orientation="Horizontal">
|
68 | 69 | <ProgressBar x:Name="progressBarIndexing" Height="20" Width="80" Minimum="0" Maximum="100" IsIndeterminate="True" />
|
69 | 70 | <TextBlock Margin="10 0 0 0" Height="20" HorizontalAlignment="Center" Text="{DynamicResource flowlauncher_plugin_program_indexing}" />
|
70 | 71 | </StackPanel>
|
71 | 72 | <StackPanel HorizontalAlignment="Right" Orientation="Horizontal">
|
72 | 73 | <Button x:Name="btnProgramSourceStatus" Click="btnProgramSourceStatus_OnClick" Width="100" Margin="10" Content="{DynamicResource flowlauncher_plugin_program_disable}" />
|
73 | 74 | <Button x:Name="btnEditProgramSource" Click="btnEditProgramSource_OnClick" Width="100" Margin="10" Content="{DynamicResource flowlauncher_plugin_program_edit}"/>
|
74 |
| - <Button x:Name="btnAddProgramSource" Click="btnAddProgramSource_OnClick" Width="100" Margin="10" Content="{DynamicResource flowlauncher_plugin_program_add}"/> |
| 75 | + <Button x:Name="btnAddProgramSource" Click="btnAddProgramSource_OnClick" Width="100" Margin="10 10 0 10" Content="{DynamicResource flowlauncher_plugin_program_add}"/> |
75 | 76 | </StackPanel>
|
76 | 77 | </DockPanel>
|
| 78 | + <StackPanel Grid.Row="3" Orientation="Horizontal" HorizontalAlignment="Stretch"> |
| 79 | + <TextBlock Text="{DynamicResource flowlauncher_plugin_program_customizedexplorer}" VerticalAlignment="Center" FontSize="15" |
| 80 | + ToolTip= "{DynamicResource flowlauncher_plugin_program_tooltip_customizedexplorer}"/> |
| 81 | + <TextBox Margin="10,0,10,0" TextWrapping="NoWrap" VerticalAlignment="Center" Width="200" Height="30" FontSize="15" |
| 82 | + TextChanged="CustomizeExplorer" x:Name="CustomizeExplorerBox"/> |
| 83 | + <TextBlock Text="{DynamicResource flowlauncher_plugin_program_args}" VerticalAlignment="Center" FontSize="15" |
| 84 | + ToolTip="{DynamicResource flowlauncher_plugin_program_tooltip_args}" /> |
| 85 | + <TextBox Margin="10,0,0,0" Width="135" Height="30" FontSize="15" x:Name="CustomizeArgsBox" TextChanged="CustomizeExplorerArgs"></TextBox> |
| 86 | + </StackPanel> |
77 | 87 | </Grid>
|
78 | 88 | </UserControl>
|
79 | 89 |
|
|
0 commit comments