WpfExpressionBlendTheme icon indicating copy to clipboard operation
WpfExpressionBlendTheme copied to clipboard

StatusBar Item height and sizing

Open FireEmerald opened this issue 7 years ago • 1 comments
trafficstars

https://github.com/DanPristupov/WpfExpressionBlendTheme/blob/5d1d00f5abe7a781daea7c7fd19244bcd194d0fe/DarkBlendTheme/Themes/Styles.xaml#L2456

This setter leads to a fixed height of the status bar, which means if the inner element is larger, the item is cut off. To test this replace: https://github.com/DanPristupov/WpfExpressionBlendTheme/blob/5d1d00f5abe7a781daea7c7fd19244bcd194d0fe/DarkBlendTheme/MainWindow.xaml#L742

with <StatusBarItem><Label Content="Ready"></Label></StatusBarItem>.

You could either remove the setter line or replace Height with MinHeight.


Another issue is that the FontSize of a StatusBarItem does not scale with the windows FontSize if you append to <Window ... FontSize="16". Any idea why? (Edit: Seems like this kicks in...)

FireEmerald avatar Sep 12 '18 20:09 FireEmerald

I'll briefly check this tomorrow, but generally I'm too busy working on http://git-fork.com/windows.

It seems that you need to define FontSize within StatusBarItem ContentPresenter as {TemplateBinding FontSize}

You can contribute by creating a PR.

DanPristupov avatar Sep 13 '18 11:09 DanPristupov