timheuer / callisto

A control toolkit for Windows 8 XAML applications. Contains some UI controls to make it easier to create Windows UI style apps for the Windows Store in accordance with Windows UI guidelines.
http://timheuer.com/blog/archive/2012/05/31/introducing-callisto-a-xaml-toolkit-for-metro-apps.aspx
Other
338 stars 108 forks source link

Rating item colour when white background #197

Closed cjgaliana closed 11 years ago

cjgaliana commented 11 years ago

Hi, In a white background app, when you add the rating control the non-selected starts are transparent instead of grey

For example, this is the code to add the rating control that I have

< callisto:Rating ReadOnlyFill="#FFF1E702" IsEnabled="False"/>

It is possible change the default grey for non-selected items?

timheuer commented 11 years ago

How do you have the white background app? Are you using RequestedTheme="Light" in your app.xaml or have you set it in your app grid somewhere? I suspect the latter and you are picking up the dark-theme definitions of the control (which in this case would be a 'white' non-selected color). I'd recommend using RequestedTheme="Light" in your app.xaml if you have a truly light-themed app.

Otherwise you'd have to overwrite RatingItemBackgroundThemeBrush definition in app.xaml. Using the RequestedTheme is the recommended approach here.