Closed MarcelVersteeg closed 1 year ago
You can still use a regular Separator
.
You just have to set DockPanel.Dock="Top"
on them.
The panel for the backstage was changed to be a DockPanel
while fixing #936.
I totally forgot to add this to the list of breaking changes, as setting the dock alignment is now mandatory, as the default in WPF is Left
.
That indeed did the trick. Thank you for the quick response!
I will change the code to automatically set the default dock value for all items added to the backstage. That way people don't have to set it, if they want the default layout (top to bottom).
I just upgraded Fluent.Ribbon from version 8.0.1 to version 9.0.4. Now my separators are no longer shown in the Backstage and the tab headers are also no longer aligned (they indent further with every separator).
In my XAML I use a styled
System.Windows.Controls.Separator
for the separator. Even if I do not set theStyle
attribute, the separator is not shown and the tab header do not align correctly in version 9.0.4 while it was with version 8.0.1. If I replace theSystem.Windows.Controls.Separator
with an unstyledFluent.SeparatorTabItem
, the separators do show in the default color and the items correctly align, but I want to give the separators another color. Setting theForeground
orBackground
properties of theSeparatorTabItem
does not work and if apply the style I previously used for theSystem.Windows.Controls.Separator
(changing the type to apply it to toFluent.SeparatorTabItem
), the separator disappears again and the items are no longer aligned.How can I change the color of the separator in the backstage?
Environment