|
29 | 29 | <Grid Grid.Row="1" Margin="1,2"> |
30 | 30 | <Grid.ColumnDefinitions> |
31 | 31 | <ColumnDefinition Width="Auto"/> |
32 | | -<ColumnDefinition Width="Auto"/> |
33 | 32 | <ColumnDefinition Width="*"/> |
| 33 | +<ColumnDefinition Width="Auto"/> |
| 34 | +<ColumnDefinition Width="Auto"/> |
34 | 35 | <ColumnDefinition Width="Auto"/> |
35 | 36 | </Grid.ColumnDefinitions> |
36 | 37 | <ToggleButton Grid.Column="0" Width="30" ToolTip="Bind" |
|
51 | 52 | </controls:DrawingIcon.HDPIDrawing> |
52 | 53 | </controls:DrawingIcon> |
53 | 54 | </ToggleButton> |
54 | | -<Button Grid.Column="1" Width="30" ToolTip="Clear" |
55 | | - IsEnabled="{Binding CanClear}" |
56 | | - Command="{Binding ClearCommand}" |
57 | | - Style="{StaticResource {x:Static themes:ResourceKeys.ToolbarButtonStyleKey}}"> |
58 | | - <Path Fill="{Binding Foreground, RelativeSource={RelativeSource AncestorType=Button}}" |
59 | | - Data="M1,6 L1,10 3,10 3,7 4,7 4,10 10,10 10,6 z M0,3 L4,3 4,4 1,4 1,5 10,5 10,4 7,4 7,3 11,3 11,5 11,6 11,11 0,11 0,6 0,5 z M3,0 L4,0 7,0 8,0 8,3 7,3 7,1 4,1 4,3 3,3 z"/> |
60 | | - </Button> |
61 | | - <Button Grid.Column="3" Width="30" ToolTip="Fetch" |
62 | | - Command="{Binding RequestCommand}" |
| 55 | + <Button Grid.Column="2" Width="30" ToolTip="Fetch" |
63 | 56 | IsEnabled="{Binding CanFetch}" |
| 57 | + Command="{Binding RequestCommand}" |
64 | 58 | Style="{StaticResource {x:Static themes:ResourceKeys.ToolbarButtonStyleKey}}"> |
65 | 59 | <controls:DrawingIcon> |
66 | 60 | <controls:DrawingIcon.Drawing> |
|
72 | 66 | Geometry="M0,9 L0,11 11,11 11,9 10,9 10,10 1,10 1,9 z M4,0 L7,0 7,4 10,4 5.5,9 1,4 4,4 z" /> |
73 | 67 | </controls:DrawingIcon.HDPIDrawing> |
74 | 68 | </controls:DrawingIcon> |
| 69 | + </Button> |
| 70 | +<Button Grid.Column="3" Width="30" ToolTip="Format" |
| 71 | + IsEnabled="{Binding CanClear}" |
| 72 | + Command="{Binding FormatCommand}" |
| 73 | + Style="{StaticResource {x:Static themes:ResourceKeys.ToolbarButtonStyleKey}}"> |
| 74 | + <controls:DrawingIcon> |
| 75 | + <controls:DrawingIcon.Drawing> |
| 76 | + <GeometryDrawing Brush="{Binding Foreground,RelativeSource={RelativeSource AncestorType=Button},FallbackValue={x:Static swm:Brushes.Transparent}}" |
| 77 | + Geometry="M0,10 L11,10 11,11 0,11 z M5,8 L11,8 11,9 5,9 z M7,6 L11,6 11,7 7,7 z M7,4 L11,4 11,5 7,5 z M5,2 L11,2 11,3 5,3 z M0,2 L1,2 1,3 2,3 2,4 3,4 3,5 4,5 4,6 3,6 3,7 2,7 2,8 1,8 1,9 0,9 z M0,0 L11,0 11,1 0,1 z" /> |
| 78 | + </controls:DrawingIcon.Drawing> |
| 79 | + <controls:DrawingIcon.HDPIDrawing> |
| 80 | + <GeometryDrawing Brush="{Binding Foreground,RelativeSource={RelativeSource AncestorType=Button},FallbackValue={x:Static swm:Brushes.Transparent}}" |
| 81 | + Geometry="M0,10 L11,10 11,11 0,11 z M5,8 L11,8 11,9 5,9 z M7,6 L11,6 11,7 7,7 z M7,4 L11,4 11,5 7,5 z M5,2 L11,2 11,3 5,3 z M0,2 L4,5.5 0,9 z M0,0 L11,0 11,1 0,1 z" /> |
| 82 | + </controls:DrawingIcon.HDPIDrawing> |
| 83 | + </controls:DrawingIcon> |
| 84 | + </Button> |
| 85 | +<Button Grid.Column="4" Width="30" ToolTip="Clear" |
| 86 | + IsEnabled="{Binding CanClear}" |
| 87 | + Command="{Binding ClearCommand}" |
| 88 | + Style="{StaticResource {x:Static themes:ResourceKeys.ToolbarButtonStyleKey}}"> |
| 89 | + <Path Fill="{Binding Foreground, RelativeSource={RelativeSource AncestorType=Button}}" |
| 90 | + Data="M1,6 L1,10 3,10 3,7 4,7 4,10 10,10 10,6 z M0,3 L4,3 4,4 1,4 1,5 10,5 10,4 7,4 7,3 11,3 11,5 11,6 11,11 0,11 0,6 0,5 z M3,0 L4,0 7,0 8,0 8,3 7,3 7,1 4,1 4,3 3,3 z"/> |
75 | 91 | </Button> |
76 | 92 | </Grid> |
77 | 93 |
|
|
0 commit comments