The separator in the actipro statusbar looks much to black than the one in MS office.
is this a setting?
The separator in the actipro statusbar looks much to black than the one in MS office.
is this a setting?
Hi Arthur,
If you mean the top border of the statusbar, that is exactly the same color as Office. If you mean a Separator within the statusbar, then ours is slightly lighter than Office.
I mena the separator inside the actipro statusbar
(The Microsoft Word statusbar separator is much lighter than the actipro.)
The separator in the actipro statusbar looks more like black than gray. This is anoying since the old version looked much nicer.
Now it is to much visible and distracts from the real information.
Sorry but I'm not sure what you mean since our separator when in Office Silver is lighter if anything than the real Office's. I just compared them side by side using our main ribbon demo, and also with our Themes' "Native Control Themes" demo.
Maybe you aren't using our theme for StatusBar and are using WPF's default theme.
You are right that in the demo it looks ok. Why doesn't it look the same in my example?
Example:
<ribbon:RibbonWindow x:Class="MainWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:shared="http://schemas.actiprosoftware.com/winfx/xaml/shared"
xmlns:ribbon="http://schemas.actiprosoftware.com/winfx/xaml/ribbon"
xmlns:themes="http://schemas.actiprosoftware.com/winfx/xaml/themes"
Title="MainWindow" Height="350" Width="525">
<Grid></Grid>
<ribbon:RibbonWindow.StatusBar >
<StatusBar Height="23" FocusManager.IsFocusScope="True" Style="{DynamicResource {x:Static themes:SharedResourceKeys.StatusBarStyleKey}}">
<StatusBar.ItemsPanel>
<ItemsPanelTemplate>
<Grid>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="Auto" />
<ColumnDefinition Width="Auto" />
<ColumnDefinition Width="Auto" />
<ColumnDefinition Width="Auto" />
<ColumnDefinition Width="*" />
<ColumnDefinition Width="Auto" />
<ColumnDefinition Width="Auto" />
</Grid.ColumnDefinitions>
</Grid>
</ItemsPanelTemplate>
</StatusBar.ItemsPanel>
<StatusBarItem Grid.Column="0" Padding="3,0,0,0">
</StatusBarItem>
<Separator Grid.Column="1" />
<Separator Grid.Column="3" />
</StatusBar>
</ribbon:RibbonWindow.StatusBar>
</ribbon:RibbonWindow>
Code:
ThemeManager.CurrentTheme = ThemeName.OfficeSilver.ToString
Thanks for the sample, I see now. Since you aren't activating our native WPF control themes, the Separator doesn't get its StatusBar appearance by default. You could assign it manually like this:
<Separator Style="{DynamicResource {x:Static themes:SharedResourceKeys.StatusBarEmbeddedSeparatorStyleKey}}" />
Also if you are using Office themes, make sure you reference our new ActiproSoftware.Themes.Office.Wpf.dll and at some point before the ThemeManager.CurrentTheme set, do this to register the Office themes from that .dll:
ThemesOfficeThemeCatalogRegistrar.Register();
It looks like we were missing the Separator style attribute (as above) in the Ribbon VS item templates, so we'll update those for the next build.
Please log in to a validated account to post comments.