|
83 | 83 | Value="{DynamicResource Fluent.Ribbon.Brushes.IdealForegroundColorBrush}" />
|
84 | 84 | <Setter Property="Fluent:RibbonProperties.IconSize"
|
85 | 85 | Value="Small" />
|
| 86 | + <Setter Property="DockPanel.Dock" |
| 87 | + Value="Top" /> |
86 | 88 | </Style>
|
87 | 89 |
|
88 | 90 | <ControlTemplate x:Key="BackstageBackButtonTemplate"
|
|
159 | 161 | Value="{DynamicResource Fluent.Ribbon.Brushes.Backstage.BackButton.Background}" />
|
160 | 162 | <Setter Property="Foreground"
|
161 | 163 | Value="{DynamicResource Fluent.Ribbon.Brushes.Backstage.BackButton.Foreground}" />
|
| 164 | + <Setter Property="DockPanel.Dock" |
| 165 | + Value="Top" /> |
162 | 166 | </Style>
|
163 | 167 |
|
164 | 168 | <Style TargetType="{x:Type Fluent:SeparatorTabItem}"
|
|
167 | 171 | Value="25,10,20,10" />
|
168 | 172 | <Setter Property="Focusable"
|
169 | 173 | Value="False" />
|
| 174 | + <Setter Property="DockPanel.Dock" |
| 175 | + Value="Top" /> |
170 | 176 | <Setter Property="Template">
|
171 | 177 | <Setter.Value>
|
172 | 178 | <ControlTemplate TargetType="{x:Type Fluent:SeparatorTabItem}">
|
|
235 | 241 | KeyboardNavigation.DirectionalNavigation="Cycle">
|
236 | 242 | <Grid.RowDefinitions>
|
237 | 243 | <RowDefinition Height="Auto" />
|
238 |
| - <RowDefinition Height="Auto" /> |
| 244 | + <RowDefinition Height="*" /> |
239 | 245 | </Grid.RowDefinitions>
|
240 | 246 | <Fluent:WindowSteeringHelperControl Grid.RowSpan="2"
|
241 | 247 | Height="{Binding SelectedContentMargin.Top, RelativeSource={RelativeSource TemplatedParent}}"
|
|
296 | 302 | Value="{DynamicResource Fluent.Ribbon.Brushes.BackstageTabControl.ItemsPanelBackground}" />
|
297 | 303 | <Setter Property="ItemContainerStyleSelector"
|
298 | 304 | Value="{x:Static styleSelectors:BackstageTabControlItemContainerStyleSelector.Instance}" />
|
| 305 | + <Setter Property="ItemsPanel"> |
| 306 | + <Setter.Value> |
| 307 | + <ItemsPanelTemplate> |
| 308 | + <DockPanel /> |
| 309 | + </ItemsPanelTemplate> |
| 310 | + </Setter.Value> |
| 311 | + </Setter> |
299 | 312 | <Setter Property="SelectedContentMargin">
|
300 | 313 | <Setter.Value>
|
301 | 314 | <MultiBinding Converter="{x:Static converters:StaticConverters.ThicknessConverter}">
|
|
0 commit comments