|
9 | 9 | xmlns:reactiveUi="http://reactiveui.net" |
10 | 10 | xmlns:shell="clr-namespace:WolvenKit.App.ViewModels.Shell;assembly=WolvenKit.App" |
11 | 11 | xmlns:local="clr-namespace:WolvenKit.Views.Templates" |
12 | | - mc:Ignorable="d" |
13 | | - DataContext="{Binding ViewModel, |
14 | | - RelativeSource={RelativeSource Self}}"> |
| 12 | + mc:Ignorable="d"> |
15 | 13 | <UserControl.Resources> |
16 | 14 | <ResourceDictionary> |
17 | 15 | <Style TargetType="{x:Type local:IconBox}"> |
18 | | - <Setter Property="Foreground" Value="{StaticResource WolvenKitLabelBrush}" /> |
19 | 16 | <Setter Property="Opacity" Value="1.0" /> |
| 17 | + |
20 | 18 | <Style.Triggers> |
21 | 19 | <DataTrigger |
22 | 20 | Binding="{Binding Path=IsEnabled, |
|
26 | 24 | </DataTrigger> |
27 | 25 | </Style.Triggers> |
28 | 26 | </Style> |
29 | | - |
30 | | - <Style TargetType="{x:Type MenuItem}"> |
31 | | - <Setter Property="FontSize" Value="{DynamicResource WolvenKitFontSubTitle}" /> |
32 | | - |
33 | | - <Setter Property="HeaderTemplate"> |
34 | | - <Setter.Value> |
35 | | - <DataTemplate> |
36 | | - <TextBlock |
37 | | - Margin="{DynamicResource WolvenKitMarginSmallRight}" |
38 | | - VerticalAlignment="Center" |
39 | | - FontSize="{DynamicResource WolvenKitFontSubTitle}" |
40 | | - Text="{Binding}" /> |
41 | | - </DataTemplate> |
42 | | - </Setter.Value> |
43 | | - </Setter> |
44 | | - <Setter Property="Margin" Value="{DynamicResource WolvenKitMarginSmallVertical}" /> |
45 | | - </Style> |
46 | | - |
47 | 27 | </ResourceDictionary> |
48 | 28 | </UserControl.Resources> |
49 | 29 |
|
|
57 | 37 | x:Name="HomeButton" |
58 | 38 | Margin="1,0" |
59 | 39 | Padding="12,5" |
| 40 | + FontSize="{DynamicResource WolvenKitFontSubTitle}" |
60 | 41 | Header="HOME" /> |
61 | 42 |
|
62 | 43 | <!-- File --> |
63 | 44 | <MenuItem |
64 | 45 | Padding="{DynamicResource WolvenKitMarginHorizontal}" |
| 46 | + FontSize="{DynamicResource WolvenKitFontSubTitle}" |
65 | 47 | Header="File"> |
66 | 48 | <MenuItem |
67 | 49 | x:Name="MenuItemNewFile" |
|
232 | 214 | <!-- Project --> |
233 | 215 | <MenuItem |
234 | 216 | Padding="{DynamicResource WolvenKitMarginHorizontal}" |
| 217 | + FontSize="{DynamicResource WolvenKitFontSubTitle}" |
235 | 218 | Header="Project"> |
236 | 219 |
|
237 | 220 | <MenuItem |
|
378 | 361 | <!-- Build --> |
379 | 362 | <MenuItem |
380 | 363 | Padding="{DynamicResource WolvenKitMarginHorizontal}" |
| 364 | + FontSize="{DynamicResource WolvenKitFontSubTitle}" |
381 | 365 | Header="Build"> |
382 | 366 | <!-- Pack --> |
383 | 367 | <MenuItem |
|
532 | 516 | <!-- View --> |
533 | 517 | <MenuItem |
534 | 518 | Padding="{DynamicResource WolvenKitMarginHorizontal}" |
535 | | - Header="View" |
536 | | - |
537 | | - Margin="{DynamicResource WolvenkitMarginTop}" |
538 | | - > |
| 519 | + FontSize="{DynamicResource WolvenKitFontSubTitle}" |
| 520 | + Header="View"> |
539 | 521 | <MenuItem |
540 | 522 | x:Name="ProjectExplorerCheckbox" |
541 | 523 | Margin="{DynamicResource WolvenKitMenuBarItemMarginHorizontal}" |
|
582 | 564 |
|
583 | 565 | <MenuItem |
584 | 566 | Margin="{DynamicResource WolvenKitMenuBarItemMarginHorizontal}" |
585 | | - Padding="{DynamicResource WolvenKitMarginSmallVertical}" |
586 | 567 | Header="Show File Preview" |
587 | 568 | IsCheckable="True" |
588 | 569 | IsChecked="{Binding SettingsManager.ShowFilePreview, |
|
664 | 645 | <!-- Tools --> |
665 | 646 | <MenuItem |
666 | 647 | Padding="{DynamicResource WolvenKitMarginHorizontal}" |
| 648 | + FontSize="{DynamicResource WolvenKitFontSubTitle}" |
667 | 649 | Header="Tools"> |
668 | 650 | <MenuItem |
669 | 651 | Margin="{DynamicResource WolvenKitMenuBarItemMarginHorizontal}" |
|
765 | 747 | <!-- Game --> |
766 | 748 | <MenuItem |
767 | 749 | Padding="{DynamicResource WolvenKitMarginHorizontal}" |
| 750 | + FontSize="{DynamicResource WolvenKitFontSubTitle}" |
768 | 751 | Header="Game"> |
769 | 752 | <MenuItem |
770 | 753 | x:Name="ToolbarLaunchButton" |
|
811 | 794 | <!-- Extensions --> |
812 | 795 | <MenuItem |
813 | 796 | Padding="{DynamicResource WolvenKitMarginHorizontal}" |
| 797 | + FontSize="{DynamicResource WolvenKitFontSubTitle}" |
814 | 798 | Header="Extensions"> |
815 | 799 | <MenuItem |
816 | 800 | x:Name="MenuItemShowPluginTool" |
|
0 commit comments