|
13 | 13 | <layerViewModel:LayerViewModel /> |
14 | 14 | </Design.DataContext> |
15 | 15 |
|
16 | | - <UserControl.Styles> |
17 | | - <Style Selector="TabItem"> |
18 | | - <Setter Property="FontSize" Value="14"/> |
19 | | - <Setter Property="FontWeight" Value="Normal"/> |
20 | | - <Setter Property="VerticalAlignment" Value="Top" /> |
21 | | - <Setter Property="MinHeight" Value="20" /> |
22 | | - </Style> |
23 | | - <Style Selector="Label"> |
24 | | - <Setter Property="VerticalAlignment" Value="Center"></Setter> |
25 | | - </Style> |
26 | | - </UserControl.Styles> |
| 16 | + <UserControl.Styles> |
| 17 | + <Style Selector="TabItem"> |
| 18 | + <Setter Property="FontSize" Value="14" /> |
| 19 | + <Setter Property="FontWeight" Value="Normal" /> |
| 20 | + <Setter Property="VerticalAlignment" Value="Top" /> |
| 21 | + <Setter Property="MinHeight" Value="20" /> |
| 22 | + </Style> |
| 23 | + <Style Selector="Label"> |
| 24 | + <Setter Property="VerticalAlignment" Value="Center"></Setter> |
| 25 | + </Style> |
| 26 | + </UserControl.Styles> |
27 | 27 |
|
28 | 28 | <TabControl Padding="0"> |
29 | 29 | <TabItem Header="Layer 1"> |
|
35 | 35 | <Button Grid.Column="3" IsEnabled="False">Swap</Button> |
36 | 36 | <Button Grid.Column="4" IsEnabled="False">Reset</Button> |
37 | 37 | </Grid> |
38 | | - <Grid Grid.Row="1" ColumnDefinitions="150,*" Margin="5"> |
39 | | - <Label Content="Left Button" /> |
40 | | - <views:MouseButtonComboControl Grid.Column="1" DataContext="{Binding Mb1ComboVm}" /> |
41 | | - </Grid> |
42 | | - <Grid Grid.Row="2" ColumnDefinitions="150,*" Margin="5"> |
43 | | - <Label Content="Right Button" /> |
44 | | - <views:MouseButtonComboControl Grid.Column="1" DataContext="{Binding Mb2ComboVm}" /> |
45 | | - </Grid> |
46 | | - <Grid Grid.Row="3" ColumnDefinitions="150,*,Auto" Margin="5"> |
47 | | - <Label Content="Middle Button" /> |
48 | | - <views:MouseButtonComboControl Grid.Column="1" DataContext="{Binding Mb3ComboVm}" /> |
49 | | - </Grid> |
50 | | - <Grid Grid.Row="4" ColumnDefinitions="150,*,Auto" Margin="5"> |
51 | | - <Label Content="Mouse Button 4" /> |
52 | | - <views:MouseButtonComboControl Grid.Column="1" DataContext="{Binding Mb4ComboVm}" /> |
53 | | - </Grid> |
54 | | - <Grid Grid.Row="5" ColumnDefinitions="150,*,Auto" Margin="5"> |
55 | | - <Label Content="Mouse Button 5" /> |
56 | | - <views:MouseButtonComboControl Grid.Column="1" DataContext="{Binding Mb5ComboVm}" /> |
57 | | - </Grid> |
58 | | - <Grid Grid.Row="6" ColumnDefinitions="150,*,Auto" Margin="5"> |
59 | | - <Label Content="Wheel Up" /> |
60 | | - <views:MouseButtonComboControl Grid.Column="1" DataContext="{Binding MwuComboVm}" /> |
61 | | - </Grid> |
62 | | - <Grid Grid.Row="7" ColumnDefinitions="150,*,Auto" Margin="5"> |
63 | | - <Label Content="Wheel Down" /> |
64 | | - <views:MouseButtonComboControl Grid.Column="1" DataContext="{Binding MwdComboVm}" /> |
65 | | - </Grid> |
66 | | - <Grid Grid.Row="8" ColumnDefinitions="150,*,Auto" Margin="5"> |
67 | | - <Label Content="Tilt Wheel Left" /> |
68 | | - <views:MouseButtonComboControl Grid.Column="1" DataContext="{Binding MwlComboVm}" /> |
69 | | - </Grid> |
70 | | - <Grid Grid.Row="9" ColumnDefinitions="150,*,Auto" Margin="5"> |
71 | | - <Label Content="Tilt Wheel Right" /> |
72 | | - <views:MouseButtonComboControl Grid.Column="1" DataContext="{Binding MwrComboVm}" /> |
73 | | - </Grid> |
| 38 | + <views:MouseButtonComboControl Grid.Row="1" DataContext="{Binding Mb1ComboVm}" /> |
| 39 | + <views:MouseButtonComboControl Grid.Row="2" DataContext="{Binding Mb2ComboVm}" /> |
| 40 | + <views:MouseButtonComboControl Grid.Row="3" DataContext="{Binding Mb3ComboVm}" /> |
| 41 | + <views:MouseButtonComboControl Grid.Row="4" DataContext="{Binding Mb4ComboVm}" /> |
| 42 | + <views:MouseButtonComboControl Grid.Row="5" DataContext="{Binding Mb5ComboVm}" /> |
| 43 | + <views:MouseButtonComboControl Grid.Row="6" DataContext="{Binding MwuComboVm}" /> |
| 44 | + <views:MouseButtonComboControl Grid.Row="7" DataContext="{Binding MwdComboVm}" /> |
| 45 | + <views:MouseButtonComboControl Grid.Row="8" DataContext="{Binding MwlComboVm}" /> |
| 46 | + <views:MouseButtonComboControl Grid.Row="9" DataContext="{Binding MwrComboVm}" /> |
74 | 47 | </Grid> |
75 | 48 | </TabItem> |
76 | 49 | <TabItem Header="Layer 2"></TabItem> |
|
0 commit comments