Is it possible to get the current client’s window/container dimensions? I’m looking to auto locate and size open pop-up windows if the client window is resized or docked windows are opened and the available space for pop-ups changes.
Note: this will get the size of the window that the button is contained in. If you have docked windows mixed with floating windows, if won’t be the full size of all of these combined.