Menu.open()
should have an option to align x
and y
to the top right of the menu.
#709
Labels
enhancement
New feature or request
Problem
I am trying to add a button to an extension that opens a menu. The button is on the far right side of the window, so the menu is automatically shifting to fit into the window. If I use the
forceX
option a portion of the menu will be out of the window and not viewable.See the thread here for more context.
Proposed Solution
I propose adding a parameter to
Menu.IOpenOptions
to specify how the menu would relate tox
andy
. It could be something likealign
with the possible options"right"
and"left"
."left"
would be default and it would align the top-left of the menu tox
andy
."right"
would align the top-right of the menu tox
andy
.The text was updated successfully, but these errors were encountered: