Update MainWindow.xaml (#15708)

This commit is contained in:
Niels Laute
2022-01-24 10:16:45 +01:00
committed by GitHub
parent 6a01be2c38
commit 7833ace553

View File

@@ -120,10 +120,9 @@
<DataTemplate x:Key="LayoutItemTemplate"> <DataTemplate x:Key="LayoutItemTemplate">
<Grid Background="Transparent"> <Grid Background="Transparent">
<Grid <Grid Width="180"
Width="180"
Height="140" Height="140"
Margin="16"> Margin="16,12,16,16">
<Grid.RowDefinitions> <Grid.RowDefinitions>
<RowDefinition Height="24" /> <RowDefinition Height="24" />
<RowDefinition Height="124" /> <RowDefinition Height="124" />
@@ -134,7 +133,7 @@
Text="{Binding Name}" Text="{Binding Name}"
FontSize="15" FontSize="15"
FontWeight="SemiBold" FontWeight="SemiBold"
Margin="0,-4,24,0" Margin="0,0,24,0"
ToolTip="{Binding Name}" ToolTip="{Binding Name}"
Foreground="{Binding (TextElement.Foreground), RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type ContentPresenter}}}" /> Foreground="{Binding (TextElement.Foreground), RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type ContentPresenter}}}" />
<local:LayoutPreview Grid.Row="1" <local:LayoutPreview Grid.Row="1"