|
25 | 25 | </Style> |
26 | 26 | </Grid.Resources> |
27 | 27 | <Grid.ColumnDefinitions> |
| 28 | + <ColumnDefinition Width="Auto" /> |
28 | 29 | <ColumnDefinition Width="Auto" /> |
29 | 30 | <ColumnDefinition Width="Auto" /> |
30 | 31 | <ColumnDefinition /> |
|
34 | 35 | </Grid.ColumnDefinitions> |
35 | 36 | <Button Content="Back" Command="{Binding BackCommand, ElementName=Browser}" Width="50"/> |
36 | 37 | <Button Content="Forward" Command="{Binding ForwardCommand, ElementName=Browser}" Grid.Column="1" Width="60"/> |
37 | | - <TextBox x:Name="txtBoxAddress" Text="{Binding Address, ElementName=Browser, FallbackValue=www.google.com}" Grid.Column="2" FontSize="12" BorderBrush="Gray" BorderThickness="1"> |
| 38 | + <Button Content="Reload" Command="{Binding ReloadCommand, ElementName=Browser}" Grid.Column="2" Width="60"/> |
| 39 | + <TextBox x:Name="txtBoxAddress" Text="{Binding Address, ElementName=Browser, FallbackValue=www.google.com}" Grid.Column="3" FontSize="12" BorderBrush="Gray" BorderThickness="1"> |
38 | 40 | <behaviors:Interaction.Behaviors> |
39 | 41 | <behaviours:TextBoxBindingUpdateOnEnterBehaviour /> |
40 | 42 | </behaviors:Interaction.Behaviors> |
41 | 43 | </TextBox> |
42 | | - <Button Content="Print..." Command="{Binding PrintCommand, ElementName=Browser}" Grid.Column="3" Width="50" /> |
43 | | - <Button Content="View source" Command="{Binding ViewSourceCommand, ElementName=Browser}" Grid.Column="4" Width="75" /> |
44 | | - <Button Content="Show DevTools" Click="ShowDevToolsClick" Grid.Column="5" Width="100" /> |
| 44 | + <Button Content="Print..." Command="{Binding PrintCommand, ElementName=Browser}" Grid.Column="4" Width="50" /> |
| 45 | + <Button Content="View source" Command="{Binding ViewSourceCommand, ElementName=Browser}" Grid.Column="5" Width="75" /> |
| 46 | + <Button Content="Show DevTools" Click="ShowDevToolsClick" Grid.Column="6" Width="100" /> |
45 | 47 | </Grid> |
46 | 48 | <Border Grid.Row="1" BorderBrush="Gray" BorderThickness="0,1"> |
47 | 49 | <hwndhost:ChromiumWebBrowser x:Name="Browser" |
|
0 commit comments