|
3 | 3 | xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
4 | 4 | xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
5 | 5 | xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
6 |
| - xmlns:local="clr-namespace:Wox.Plugin.Url" |
7 |
| - mc:Ignorable="d" Height="300" Width="500"> |
8 |
| - <Grid> |
| 6 | + mc:Ignorable="d" d:DesignHeight="300" d:DesignWidth="500"> |
| 7 | + <Grid Margin="10,10,10,0"> |
9 | 8 | <Grid.RowDefinitions>
|
10 |
| - <RowDefinition/> |
11 |
| - <RowDefinition Height="0*"/> |
| 9 | + <RowDefinition Height="40" /> |
| 10 | + <RowDefinition /> |
12 | 11 | </Grid.RowDefinitions>
|
13 |
| - <Grid.ColumnDefinitions> |
14 |
| - <ColumnDefinition/> |
15 |
| - <ColumnDefinition Width="0*"/> |
16 |
| - <ColumnDefinition Width="0*"/> |
17 |
| - <ColumnDefinition Width="0*"/> |
18 |
| - </Grid.ColumnDefinitions> |
19 | 12 | <StackPanel Orientation="Horizontal" Grid.Row="0">
|
20 |
| - <Label Content="Open search in:" Margin="40,3,0,272"/> |
21 |
| - <RadioButton Name="NewWindowBrowser" GroupName="OpenSearchBehaviour" Content="New window" Click="OnNewBrowserWindowClick" Margin="10,10,10,272" /> |
22 |
| - <RadioButton Name="NewTabInBrowser" GroupName="OpenSearchBehaviour" Content="New tab" Click="OnNewTabClick" Margin="10,10,10,272" /> |
| 13 | + <Label Content="Open search in:" Margin="40 3 0 8" /> |
| 14 | + <RadioButton x:Name="NewWindowBrowser" GroupName="OpenSearchBehaviour" Content="New window" Click="OnNewBrowserWindowClick" Margin="10" /> |
| 15 | + <RadioButton x:Name="NewTabInBrowser" GroupName="OpenSearchBehaviour" Content="New tab" Click="OnNewTabClick" Margin="10" /> |
23 | 16 | </StackPanel>
|
24 |
| - <StackPanel VerticalAlignment="Center"> |
25 |
| - <Label Content="{DynamicResource wox_plugin_url_plugin_set_tip}" Height="42" Margin="0,0,155,0" HorizontalAlignment="Right" Width="310"/> |
26 |
| - <TextBox x:Name="browserPathBox" HorizontalAlignment="Left" Height="34" Margin="35,0,0,0" TextWrapping="Wrap" VerticalAlignment="Top" Width="311" RenderTransformOrigin="0.502,-1.668"/> |
27 |
| - <Button x:Name="setButton" HorizontalAlignment="Left" Margin="272,5,0,0" Width="73" Height="25" FontSize="10" Click="OnApplyBTClick" Content="{DynamicResource wox_plugin_url_plugin_apply}" /> |
28 |
| - <Button x:Name="viewButton" HorizontalAlignment="Left" Margin="180,-25,0,0" Width="73" Height="25" Click="OnChooseClick" FontSize="10" Content="{DynamicResource wox_plugin_url_plugin_choose}" /> |
| 17 | + <StackPanel VerticalAlignment="Top" Grid.Row="1" Height="106" Margin="41,13,0,0"> |
| 18 | + <Label Content="{DynamicResource wox_plugin_url_plugin_set_tip}" Height="28" Margin="0,0,155,0" HorizontalAlignment="Left" Width="290" /> |
| 19 | + <TextBox x:Name="browserPathBox" HorizontalAlignment="Left" Height="34" Margin="5,0,0,0" TextWrapping="Wrap" VerticalAlignment="Top" Width="311" RenderTransformOrigin="0.502,-1.668" /> |
| 20 | + <Button x:Name="viewButton" HorizontalAlignment="Left" Margin="340,-33,-1,0" Width="100" Height="28" Click="OnChooseClick" FontSize="10" Content="{DynamicResource wox_plugin_url_plugin_choose}" /> |
29 | 21 | </StackPanel>
|
30 | 22 | </Grid>
|
31 | 23 | </UserControl>
|
0 commit comments