-
Notifications
You must be signed in to change notification settings - Fork 743
TabView gap between active tab and active content fix #6644
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
/azp run |
Azure Pipelines successfully started running 1 pipeline(s). |
/azp run |
Azure Pipelines successfully started running 1 pipeline(s). |
096e486
to
961f8d2
Compare
/azp run |
Azure Pipelines successfully started running 1 pipeline(s). |
961f8d2
to
750a93e
Compare
/azp run |
Azure Pipelines successfully started running 1 pipeline(s). |
/azp run |
Azure Pipelines successfully started running 1 pipeline(s). |
SetFirstTabSelectedBackgroundPathFill(tabBrush); | ||
|
||
var contentBrush = new SolidColorBrush(); | ||
contentBrush.Color = Colors.Green; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should these colors be translucent?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Or maybe have a button to set translucency to 50%
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I added buttons to set each of these to transparent. Does that cover this use case or was there another use case you are thinking of?
* Reverting product change made for 'TabView gap between active tab and active content fix #6644' * TabView expansions fix
* Reverting product change made for 'TabView gap between active tab and active content fix #6644' * TabView expansions fix
🎉This issue was addressed in #6954, which has now been successfully released as Handy links: |
Description
Gap between active tab and active tab content when device scale factor is not 100%

The
SelectedBackgroundPath
path is not being drawn all the way down in non-100% scale factors. Layout rounding API does not seem to fix this. I added an extra pixel toTabGeometry
which is being used to draw the background. That fixed the drawing at non-100% scale factors while still looking correct at 100% scale.Motivation and Context
fixes internal bugs 37332027
Screenshots
Pre-Fix on top of Post-Fix
100% scale




125% scale




150% scale




175% scale




200% scale



