Style the button and tab view background to match the titlebar#1934
Style the button and tab view background to match the titlebar#1934DHowett-MSFT merged 3 commits intomasterfrom
Conversation
|
nit: rename pull request to be in imperative form. Imagine that you're completing the sentence, "[if merged,] this pull request will..." "style the title bar" |
| Background="{ThemeResource ApplicationPageBackgroundThemeBrush}" | ||
| HorizontalAlignment="Left" | ||
| Background="{ThemeResource SystemChromeLowColor}" | ||
| HorizontalAlignment="Left" |
| <Grid x:Name="Content"></Grid> | ||
| <Border Height="36.0" MinWidth="160.0" x:Name="DragBar" Background="{ThemeResource ApplicationPageBackgroundThemeBrush}" DoubleTapped="DragBar_DoubleTapped"/> | ||
| <Border Height="36.0" | ||
| MinWidth="160.0" |
There was a problem hiding this comment.
there's a loottt of spaces here. could you align the properties vertically after the space after the tag name?
There was a problem hiding this comment.
(I think this is a tab/spaces thing)
| <ResourceDictionary x:Key="Dark"> | ||
| <x:Double x:Key="CaptionButtonStrokeWidth">1.0</x:Double> | ||
| <StaticResource x:Key="CaptionButtonBackground" ResourceKey="SystemControlBackgroundAltHighBrush"/> | ||
| <StaticResource x:Key="CaptionButtonBackground" ResourceKey="SystemChromeLowColor"/> |
There was a problem hiding this comment.
you might want to make these Transparent so the Row peeks through
| <ResourceDictionary x:Key="Light"> | ||
| <x:Double x:Key="CaptionButtonStrokeWidth">1.0</x:Double> | ||
| <StaticResource x:Key="CaptionButtonBackground" ResourceKey="SystemControlBackgroundAltHighBrush"/> | ||
| <StaticResource x:Key="CaptionButtonBackground" ResourceKey="SystemChromeLowColor"/> |
|
|
||
| <mux:TabView x:Name="TabView" Grid.Column="0" /> | ||
| <mux:TabView x:Name="TabView" Grid.Column="0" | ||
| SelectionChanged="TabView_SelectionChanged" /> |
There was a problem hiding this comment.
remove this and the other selectionchanged thingos
zadjii-msft
left a comment
There was a problem hiding this comment.
I pretty much have the same comments that Dustin has
|
|
||
| <Grid x:Name="Content"></Grid> | ||
| <Border Height="36.0" MinWidth="160.0" x:Name="DragBar" Background="{ThemeResource ApplicationPageBackgroundThemeBrush}" DoubleTapped="DragBar_DoubleTapped"/> | ||
| <Border Height="36.0" |
There was a problem hiding this comment.
Why does GH think this line wrapped?
There was a problem hiding this comment.
I added that in
|
@cinnamon-msft cool, cool cool cool cool cool. |
…soft#1934) * styled title bar to be one color, shrunk + button
|
🎉 Handy links: |
|
You need to switch your Windows theme from light to dark in the settings app. |
|
Oh, I understand now. I prefer a light theme for the rest of the system. I guess I'll stick with the white borders for now. It'd be nice to be able to change this from the |
|
You can set the app to use dark themes in the settings |
|
Yeah, it’s called “requestedTheme”. |
|
Thank you! I was indeed going to ask what the option is :) |
Summary of the Pull Request
Added additional styling to the title bar so it looks cohesive and tweaked the + button so it's not so large.
References
PR Checklist
Detailed Description of the Pull Request / Additional comments
Validation Steps Performed