Skip to content
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

Provide Pivot Tab Styling Resources #1672

Closed
1 of 5 tasks
michael-hawker opened this issue Nov 30, 2017 · 12 comments
Closed
1 of 5 tasks

Provide Pivot Tab Styling Resources #1672

michael-hawker opened this issue Nov 30, 2017 · 12 comments

Comments

@michael-hawker
Copy link
Member

michael-hawker commented Nov 30, 2017

I'm submitting a...

[ ] Regression (a behavior that used to work and stopped working in a new release)
[ ] Bug report  <!-- Please search GitHub for a similar issue or PR before submitting -->
[x] Feature request <!-- Please file a UserVoice request and include the link below https://wpdev.uservoice.com/forums/110705-universal-windows-platform/category/193402-uwp-community-toolkit -->
[ ] Sample app request
[ ] Documentation issue or request
[ ] Question of Support request => Please do not submit support request here, instead see https://github.com/Microsoft/UWPCommunityToolkit/blob/master/contributing.md#question

Request links

microsoft/Windows-universal-samples#314
Also related to a subset of requests for the Tab Control #353.

Expected behavior

This item is to provide static resource templates that can restyle a pivot control to behave more like a tab control.

It should look like the sample image in the docs which is mentioned to exist in the platform sample, but is not quite sufficient (see issue filed there).

Ideally I'd like to see three provided templates:

UserVoice: https://wpdev.uservoice.com/forums/110705-universal-windows-platform/suggestions/17983933-tab-control-like-in-microsoft-edge

@windowstoolkitbot
Copy link

No response from the community. ping @nmetulev @Odonno @IbraheemOsama

@nmetulev
Copy link
Contributor

nmetulev commented Dec 8, 2017

@michael-hawker is currently working on this

@windowstoolkitbot
Copy link

This issue seems inactive. Do you need help to complete this issue?

@michael-hawker
Copy link
Member Author

This was referenced Jan 2, 2018
@michael-hawker
Copy link
Member Author

The VS Code Activity Bar will be a restyling of a NavigationView, so will break that off as a separate item.

I have a couple of bugs and style things to tweak, but otherwise System & Edge styles tabs for Pivot are close.

I should also swap out my Glyph for Icon like NavigationView so it's easier to restyle.

@nmetulev nmetulev modified the milestones: v2.2, 3.0 Feb 21, 2018
@nmetulev nmetulev removed this from the 3.0 milestone May 23, 2018
@lucaasrojas
Copy link
Contributor

What's the current status?

@michael-hawker
Copy link
Member Author

I have some prototypes that work partially, but getting the Pivot to respond correctly for all scenarios is proving to be more work than this is probably worth. Recommending we close this in favor of #353 again, which I'm actually going to start looking at in more detail.

@mdtauk
Copy link

mdtauk commented Aug 8, 2018

Whilst it may still be an idea to include these Templates and Resources...

Microsoft has formalised using the NavigationView with the pane set to Top, to do Tab Navigation, instead of using a modified Pivot or set of CheckBoxes.

This doesn't replace a need for a proper Tab Control, in the same vein as the Edge and Sets tabs, but for navigation in Alarms & Clock, Store, Films & TV, or the Phone app - There is new guidance.

image

image

image

image

@nmetulev
Copy link
Contributor

nmetulev commented Aug 8, 2018

Agree on closing this and focusing on creating a new control

@nmetulev nmetulev closed this as completed Aug 8, 2018
@skendrot
Copy link
Contributor

skendrot commented Aug 8, 2018

@nmetulev Wait, What!?!?!?

@nmetulev
Copy link
Contributor

nmetulev commented Aug 8, 2018

After talking to @michael-hawker in person, I agree that it makes more sense to build something from scratch. The Pivot does a lot of work in code behind that makes it difficult to build a true tab control

@mdtauk
Copy link

mdtauk commented Aug 8, 2018

@skendrot It takes a fair bit of tweaking to get the pivot to work well with a tab design. And now Microsoft themselves are moving away from Pivot as tabs, to the updated NavigationView - I think the effort needs to go in an Edge like TabBar control. With Drag and Drop, re-arranging, new window on release of a tab, Tab close, etc

@ghost ghost locked as resolved and limited conversation to collaborators Nov 26, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

7 participants