Jump to content

Recommended Posts

Posted (edited)

Is it possible to get the width of a context menu before showing it.
I need it to aligned right widht the end of the window.
The text in the menu is multi language and there for not possible to set the width in the code.

The first image is how I get it and the second is how I want it to have it.
I think It is possible but I can't find a way to do it, I've search more than 40 min on google but no luck
1.png.030a76cd839841c9b1941c5d03f977ed.png2.png.60480fd8b5081d09c103d5eb22148f2e.png

I hoop some one has a good idea.

Edited by nend
Posted (edited)

Or find a way to change the style to allow aligning the context menu to the "Right" side (from button) depending what the main window has their

Better yet Post a reproducer to tell what option are available 

 

Edited by Deye

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...