Skip to content

Commit cbed657

Browse files
committed
fix(ProjectExplorer): font scaling in hierarchical tree and flat tree
1 parent b7c3084 commit cbed657

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

WolvenKit/Views/Tools/ProjectExplorerView.xaml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -86,12 +86,12 @@
8686
</MenuItem>
8787

8888
<MenuItem
89-
Command="{Binding OpenInMlsbCommand}"
90-
Header="Open in MlSetupBuilder"
9189
Visibility="{Binding Path=IsEnabled,
9290
RelativeSource={RelativeSource Self},
9391
Mode=OneWay,
94-
Converter={StaticResource BooleanToVisibilityConverter}}">
92+
Converter={StaticResource BooleanToVisibilityConverter}}"
93+
Command="{Binding OpenInMlsbCommand}"
94+
Header="Open in MlSetupBuilder">
9595
<MenuItem.Icon>
9696
<templates:IconBox
9797
IconPack="Empty"
@@ -493,13 +493,15 @@
493493
Grid.Column="1"
494494
Margin="{DynamicResource WolvenKitMarginTinyLeft}"
495495
VerticalAlignment="Center"
496+
FontSize="{DynamicResource WolvenKitFontSubTitle}"
496497
Text="{Binding Path=Name}" />
497498

498499
<TextBlock
499500
x:Name="FileSizeTextBlock"
500501
Grid.Column="1"
501502
Margin="{DynamicResource WolvenKitMarginTinyLeft}"
502503
VerticalAlignment="Center"
504+
FontSize="{DynamicResource WolvenKitFontSubTitle}"
503505
Text="{Binding Path=Name}" />
504506

505507
<!-- Copy relative path - Open in Windows Explorer - Open file - Delete -->
@@ -625,6 +627,7 @@
625627
Grid.Column="1"
626628
Margin="{DynamicResource WolvenKitMarginTinyLeft}"
627629
VerticalAlignment="Center"
630+
FontSize="{DynamicResource WolvenKitFontSubTitle}"
628631
Text="{Binding Path=Name}"
629632
TextTrimming="CharacterEllipsis" />
630633
</Grid>
@@ -1072,6 +1075,7 @@
10721075
<Style TargetType="syncfusion:TreeGridCell">
10731076
<Setter Property="BorderBrush" Value="Transparent" />
10741077
<Setter Property="BorderThickness" Value="0" />
1078+
<Setter Property="FontSize" Value="{DynamicResource WolvenKitFontSubTitle}" />
10751079
</Style>
10761080

10771081
<Style TargetType="syncfusion:TreeGridExpanderCell">

0 commit comments

Comments
 (0)