-
Notifications
You must be signed in to change notification settings - Fork 94
Open
Description
I'm passing a really large x and y value os.ui.window.launch()
to try to launch a window in the lower right corner for a window with height: auto
. When the following code runs, it doesn't work as expected because the height of the window hasn't been calculated yet so h
is only 38px. Not sure if there is a good way around this...
if (y < winContainerTop) {
this.element.css('top', winContainerTop + 'px');
} else if ((y + h) > size.height) {
y = Math.max(size.height - h, winContainerTop);
this.element.css('top', y + 'px');
}
Metadata
Metadata
Assignees
Labels
No labels