Skip to content

Commit

Permalink
Fixes #551 by changing fixed heights for header to auto
Browse files Browse the repository at this point in the history
  • Loading branch information
batzen committed Mar 28, 2018
1 parent 534c144 commit 95f289a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions Changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
- [#535](../../issues/535) - BorderBush on bottom of RibbonTabItem (and Ribbon)
- [#543](../../issues/543) - Using images that can't be found during design time crashes designer
A generic "error" image is rendered during design time and an exception is thrown during runtime.
- [#551](../../issues/551) - "Auto" size for ribbon group box header to support custom font sizes (thanks @chrfin)

- ### Enhancements
- [#533](../../issues/533) - Issue when using templated ribbon items
Expand Down
8 changes: 4 additions & 4 deletions Fluent.Ribbon/Themes/Controls/RibbonGroupBox.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -118,13 +118,13 @@
Height="85">
<Grid.RowDefinitions>
<RowDefinition Height="*" />
<RowDefinition Height="17" />
<RowDefinition Height="Auto" />
</Grid.RowDefinitions>
<Grid x:Name="PART_DownGrid"
Margin="0,-2,2,2"
Grid.Row="1"
VerticalAlignment="Bottom"
Height="17"
Height="Auto"
MaxWidth="{Binding ActualWidth, ElementName=PART_UpPanel}">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="*" />
Expand Down Expand Up @@ -276,7 +276,7 @@
Height="Auto">
<Grid.RowDefinitions>
<RowDefinition Height="*" />
<RowDefinition Height="17" />
<RowDefinition Height="Auto" />
</Grid.RowDefinitions>

<Fluent:RibbonGroupBoxWrapPanel x:Name="PART_UpPanel"
Expand All @@ -292,7 +292,7 @@
Margin="0,-2,2,2"
Grid.Row="1"
VerticalAlignment="Bottom"
Height="17">
Height="Auto">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="*" />
<ColumnDefinition Width="Auto" />
Expand Down

0 comments on commit 95f289a

Please sign in to comment.