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

A simple code to enable RibbonTabControl react to touch manipulation #38

Closed
shanhongyue opened this issue Dec 5, 2014 · 1 comment
Closed
Assignees
Milestone

Comments

@shanhongyue
Copy link

When the width of the window is small, but there are many contents in ribbon, some of which will be hidden.
https://skydrive.live.com/redir?resid=FF860405C40AB4A9!7494

If you add such a simple code

<Setter Property="PanningMode" Value="HorizontalOnly"/>

to file:

Fluent\Themes\Office2010\Controls\RibbonTabControl.xaml
Line No. 327

and file:

Fluent\Themes\Office2013\Controls\RibbonTabControl.xaml
Line No. 325

just like this:

https://skydrive.live.com/redir?resid=FF860405C40AB4A9!7495

will enable RibbonTabControl react to touch manipulation.

If you have a touch screen, you may put your finger on the blank of a RibbonTabItem which contains too many contents, and move your finger, the contents will move horizontally.

By the way, some code in xaml files are not well organized, you may format them.

@shanhongyue shanhongyue changed the title A simple code to enable RibbonTabControl reacts to touch manipulation A simple code to enable RibbonTabControl react to touch manipulation Dec 5, 2014
@batzen
Copy link
Member

batzen commented Dec 6, 2014

Will format all xaml files during the next days and apply your fix too. Thanks for pointing this out.

@batzen batzen self-assigned this Dec 6, 2014
@batzen batzen added this to the 3.2.0 milestone Dec 6, 2014
@batzen batzen closed this as completed in 4f79b24 Dec 9, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants