Skip to content
This repository has been archived by the owner on May 1, 2024. It is now read-only.

[UWP] Use transparent as default TabbedPage bar background color #922

Closed
wants to merge 1 commit into from

Conversation

pauldipietro
Copy link
Contributor

@pauldipietro pauldipietro commented May 15, 2017

Description of Change

When navigating between tabs that change the BarBackgroundColor, returning to a tab where the value would be the default would use the value of SystemControlBackgroundChromeMediumLowBrush rather than transparent which is what UWP uses (see the style here for reference, inside of the PivotPanel).

Bugs Fixed

https://bugzilla.xamarin.com/show_bug.cgi?id=55674

API Changes

None

Behavioral Changes

None

PR Checklist

  • Has tests (if omitted, state reason in description)
  • Rebased on top of master at time of PR
  • Changes adhere to coding standard
  • Consolidate commits as makes sense

@jassmith
Copy link

Looks like this might break behavior when not inside a nav page?

@hartez
Copy link
Contributor

hartez commented Jul 24, 2017

@pauldipietro This might break if the Tabbed Page is inside of a Navigation Page - can you write a separate test with that scenario?

@samhouts
Copy link
Member

@pauldipietro Please see comments. Thanks! :)

@pauldipietro pauldipietro force-pushed the fix-bugzilla55674 branch 2 times, most recently from 9fe2c36 to 83b875c Compare September 13, 2017 19:19
@samhouts
Copy link
Member

samhouts commented Nov 7, 2017

@pauldipietro We still need a test for a TabbedPage inside of a NavigationPage, when you've got time to come back to this. Thanks!

}
});

Children.Add(new NavigationPage(tabbedPage));
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I believe I had force pushed this addition here if you get a chance to check it out.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Excellent! While you're rebasing, can you put together some before/after screenshots for us? Thanks!!

@rmarinho
Copy link
Member

rmarinho commented Nov 9, 2017

Can you rebase please @pauldipietro ?

@rmarinho
Copy link
Member

rmarinho commented Dec 5, 2017

@pauldipietro can you open a new pr for this, no need for WINDOWS_UWP now.

@rmarinho rmarinho closed this Dec 5, 2017
rmarinho pushed a commit that referenced this pull request Jan 11, 2018
…reopen) (#1327)

* [UWP] Use transparent as default TabbedPage bar background color

* Remove a now unnecessary check for 8.1
@samhouts samhouts added this to the 3.0.0 milestone May 5, 2018
@samhouts samhouts modified the milestones: 3.0.0, 2.5.0 Aug 23, 2019
@samhouts samhouts modified the milestones: 3.0.0, 2.5.0 Oct 29, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants