-
Notifications
You must be signed in to change notification settings - Fork 711
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
A few small changes #1234
A few small changes #1234
Conversation
teaP
commented
Aug 28, 2019
- CanDragTabs is false by default, just like ListView (but reorder is still on by default; we expect everyone to want it).
- SelectedIndex is 0 by default, so if the app author doesn't specify, then the first tab will get selected, avoiding the weird state of having no selected tab.
- When creating a TabView in a new appwindow, sometimes it has 0 size at the beginning; in that case we shouldn't measure tabs, we should just skip it and wait until we have a real size. I actually only added one line, but github seems confused about the diff because things got indented...
- Changed some colors and tweaked margins based on designer feedback.
- Fixed corner radius to be based on OverlayCornerRadius.
You can add ?w=1 to the github url to hide whitespace-only changes |
If we go from 0 items to non-0 items, is there logic that will select the first item? I'm just wondering about the data-bound scenario where the items may populate after the control loads. |
I do have a data-bound scenario and it works. ListView may be helping us out here. |
1899d87
to
a26b7e1
Compare
/azp run |
Azure Pipelines successfully started running 1 pipeline(s). |
@@ -6,7 +6,7 @@ | |||
|
|||
<ResourceDictionary.ThemeDictionaries> | |||
<ResourceDictionary x:Key="Light"> | |||
<StaticResource x:Key="TabViewBackground" ResourceKey="SystemControlBackgroundBaseLowBrush" /> |
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.
was it intentional to change this for Light but not for Dark and HC?
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.
Unlikely, especially if you are seeing a bug. Are you able to contribute a fix? @teaP is out this week.
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.
It was actually intentional. PM, design, and I agreed to make the background slightly lighter for light theme but not darker for dark theme.
🎉This issue was addressed in #5432, which has now been successfully released as Handy links: |
🎉This issue was addressed in #5531, which has now been successfully released as Handy links: |
🎉This issue was addressed in #5628, which has now been successfully released as Handy links: |
🎉This issue was addressed in #5472, which has now been successfully released as Handy links: |
🎉This issue was addressed in #5447, which has now been successfully released as Handy links: |
🎉This issue was addressed in #5432, which has now been successfully released as Handy links: |
🎉This issue was addressed in #5359, which has now been successfully released as Handy links: |
🎉This issue was addressed in #5779, which has now been successfully released as Handy links: |
🎉This issue was addressed in #5870, which has now been successfully released as Handy links: |
🎉This issue was addressed in #5930, which has now been successfully released as Handy links: |
🎉This issue was addressed in #5910, which has now been successfully released as Handy links: |
🎉This issue was addressed in #6004, which has now been successfully released as Handy links: |
🎉This issue was addressed in #5968, which has now been successfully released as Handy links: |
🎉This issue was addressed in #6138, which has now been successfully released as Handy links: |
🎉This issue was addressed in #5779, which has now been successfully released as Handy links: |
🎉This issue was addressed in #5870, which has now been successfully released as Handy links: |
🎉This issue was addressed in #5930, which has now been successfully released as Handy links: |
🎉This issue was addressed in #5973, which has now been successfully released as Handy links: |
🎉This issue was addressed in #5910, which has now been successfully released as Handy links: |
🎉This issue was addressed in #6004, which has now been successfully released as Handy links: |
🎉This issue was addressed in #5968, which has now been successfully released as Handy links: |
🎉This issue was addressed in #6142, which has now been successfully released as Handy links: |
🎉This issue was addressed in #6138, which has now been successfully released as Handy links: |
🎉This issue was addressed in #5779, which has now been successfully released as Handy links: |
🎉This issue was addressed in #5870, which has now been successfully released as Handy links: |
🎉This issue was addressed in #5930, which has now been successfully released as Handy links: |
🎉This issue was addressed in #5973, which has now been successfully released as Handy links: |
🎉This issue was addressed in #5910, which has now been successfully released as Handy links: |
🎉This issue was addressed in #6004, which has now been successfully released as Handy links: |
🎉This issue was addressed in #5968, which has now been successfully released as Handy links: |
🎉This issue was addressed in #6142, which has now been successfully released as Handy links: |
🎉This issue was addressed in #6138, which has now been successfully released as Handy links: |
🎉This issue was addressed in #5779, which has now been successfully released as Handy links: |
🎉This issue was addressed in #7197, which has now been successfully released as Handy links: |
🎉This issue was addressed in #5870, which has now been successfully released as Handy links: |
🎉This issue was addressed in #5930, which has now been successfully released as Handy links: |
🎉This issue was addressed in #5910, which has now been successfully released as Handy links: |
🎉This issue was addressed in #6004, which has now been successfully released as Handy links: |
🎉This issue was addressed in #5968, which has now been successfully released as Handy links: |
🎉This issue was addressed in #6138, which has now been successfully released as Handy links: |
🎉This issue was addressed in #5779, which has now been successfully released as Handy links: |