|
86 | 86 | Text="{DynamicResource defaultBrowser_name}" />
|
87 | 87 | <ComboBox
|
88 | 88 | Name="comboBox"
|
89 |
| - Width="200" |
90 | 89 | Height="35"
|
| 90 | + MinWidth="200" |
91 | 91 | Margin="14,0,0,0"
|
92 | 92 | HorizontalAlignment="Left"
|
93 | 93 | VerticalAlignment="Center"
|
|
121 | 121 | Orientation="Horizontal">
|
122 | 122 | <Grid Width="480">
|
123 | 123 | <Grid.ColumnDefinitions>
|
124 |
| - <ColumnDefinition Width="150" /> |
125 |
| - <ColumnDefinition /> |
| 124 | + <ColumnDefinition Width="Auto" /> |
| 125 | + <ColumnDefinition Width="2*" /> |
126 | 126 | </Grid.ColumnDefinitions>
|
127 | 127 | <Grid.RowDefinitions>
|
128 | 128 | <RowDefinition />
|
|
133 | 133 | <TextBlock
|
134 | 134 | Grid.Row="0"
|
135 | 135 | Grid.Column="0"
|
136 |
| - Margin="14,5,0,0" |
| 136 | + Margin="14,5,10,0" |
137 | 137 | HorizontalAlignment="Left"
|
138 | 138 | VerticalAlignment="Center"
|
139 | 139 | FontSize="14"
|
|
143 | 143 | Grid.Row="0"
|
144 | 144 | Grid.Column="1"
|
145 | 145 | Width="Auto"
|
146 |
| - Margin="10,5,15,0" |
| 146 | + Margin="10,5,0,0" |
147 | 147 | HorizontalAlignment="Stretch"
|
148 | 148 | VerticalAlignment="Center"
|
149 | 149 | IsEnabled="{Binding Editable}"
|
|
156 | 156 | VerticalAlignment="Center"
|
157 | 157 | FontSize="14"
|
158 | 158 | Text="{DynamicResource defaultBrowser_path}" />
|
159 |
| - <StackPanel |
| 159 | + <DockPanel |
160 | 160 | Grid.Row="1"
|
161 | 161 | Grid.Column="1"
|
162 |
| - Orientation="Horizontal"> |
163 |
| - <TextBox |
164 |
| - x:Name="PathTextBox" |
165 |
| - Width="220" |
166 |
| - Margin="10,10,5,0" |
167 |
| - HorizontalAlignment="Stretch" |
168 |
| - VerticalAlignment="Center" |
169 |
| - IsEnabled="{Binding Editable}" |
170 |
| - Text="{Binding Path}" /> |
| 162 | + HorizontalAlignment="Stretch" |
| 163 | + LastChildFill="True"> |
171 | 164 | <Button
|
172 | 165 | Name="btnBrowseFile"
|
173 |
| - Width="80" |
174 | 166 | Margin="0,10,0,0"
|
175 | 167 | HorizontalAlignment="Right"
|
176 | 168 | VerticalAlignment="Center"
|
|
187 | 179 | </Style>
|
188 | 180 | </Button.Style>
|
189 | 181 | </Button>
|
190 |
| - </StackPanel> |
| 182 | + <TextBox |
| 183 | + x:Name="PathTextBox" |
| 184 | + Margin="10,10,5,0" |
| 185 | + HorizontalAlignment="Stretch" |
| 186 | + VerticalAlignment="Center" |
| 187 | + IsEnabled="{Binding Editable}" |
| 188 | + Text="{Binding Path}" /> |
| 189 | + </DockPanel> |
191 | 190 |
|
192 | 191 | <StackPanel
|
193 | 192 | Grid.Row="2"
|
|
0 commit comments