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

ContextMenu and Popup has 10px space at bottom and right side #11

Closed
shanhongyue opened this issue Nov 5, 2014 · 4 comments
Closed
Assignees
Labels
Milestone

Comments

@shanhongyue
Copy link

On a touch screen, Menu is displayed on the left of focus. Look at the picture below:

Image
https://onedrive.live.com/embed?cid=FF860405C40AB4A9&resid=FF860405C40AB4A9%217423&authkey=ACdNH2EeZNWxdJ8

It is a dropdownbutton, the right edge of the menu and the right edge of the button are right-aligned. But there is 10px to display the shadow!

The picture below shows a contextmenu:

Image
https://onedrive.live.com/embed?cid=FF860405C40AB4A9&resid=FF860405C40AB4A9%217422&authkey=AGBPsxCWNIK6n9A

This may caused by these code(XAML), these code exist in all kind of controls which contains menus.

Image
https://onedrive.live.com/embed?cid=FF860405C40AB4A9&resid=FF860405C40AB4A9%217424&authkey=AHWCyvbzPB0GEBk

So, some measures should be taken to deal with it.

@batzen
Copy link
Member

batzen commented Nov 5, 2014

I don't get what's wrong here.
Could you be a bit more specific on what you think should be changed.
Sometimes it's better to explain how it should be instead of saying it's wrong. ;-)

@batzen
Copy link
Member

batzen commented Nov 5, 2014

The first image helps a lot and that issue will be fixed.
I don't even know what's shown in the second image.

@batzen batzen added the Bug 🐞 label Nov 5, 2014
@shanhongyue
Copy link
Author

Sorry, it must be a bug of Onedrive.Here's a new link of the second image:
https://onedrive.live.com/redir?resid=FF860405C40AB4A9%217425

@batzen batzen self-assigned this Nov 16, 2014
@batzen batzen changed the title On a touch screen, Menu is displayed on the left of focus ContextMenu and Popup has 10px space at bottom and right side Nov 16, 2014
@batzen batzen closed this as completed in 663ee38 Nov 16, 2014
@batzen batzen modified the milestone: 3.1.0 Nov 16, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants