Skip to content

Commit 4b980db

Browse files
authored
Fix calendar spacing #1092 (#2798)
1 parent e37e29b commit 4b980db

File tree

1 file changed

+7
-9
lines changed

1 file changed

+7
-9
lines changed

MaterialDesignThemes.Wpf/Themes/MaterialDesignTheme.Calendar.xaml

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -523,8 +523,6 @@
523523
Grid.Column="1"
524524
Grid.ColumnSpan="3"
525525
Grid.Row="2"
526-
HorizontalAlignment="Center"
527-
VerticalAlignment="Top"
528526
Margin="6 -3 7 6"
529527
Visibility="Hidden">
530528
<Border x:Name="PART_YearViewCopy" RenderTransformOrigin="0, 0.5"
@@ -542,15 +540,15 @@
542540
<TranslateTransform X="0" />
543541
</Grid.RenderTransform>
544542
<Grid.ColumnDefinitions>
545-
<ColumnDefinition Width="Auto"/>
546-
<ColumnDefinition Width="Auto"/>
547-
<ColumnDefinition Width="Auto"/>
548-
<ColumnDefinition Width="Auto"/>
543+
<ColumnDefinition Width="*"/>
544+
<ColumnDefinition Width="*"/>
545+
<ColumnDefinition Width="*"/>
546+
<ColumnDefinition Width="*"/>
549547
</Grid.ColumnDefinitions>
550548
<Grid.RowDefinitions>
551-
<RowDefinition Height="Auto"/>
552-
<RowDefinition Height="Auto"/>
553-
<RowDefinition Height="Auto"/>
549+
<RowDefinition Height="*"/>
550+
<RowDefinition Height="*"/>
551+
<RowDefinition Height="*"/>
554552
</Grid.RowDefinitions>
555553
</Grid>
556554
</Grid>

0 commit comments

Comments
 (0)