# Open popup at bottom right corner of the window

**URL:** <https://forum.inductiveautomation.com/t/open-popup-at-bottom-right-corner-of-the-window/71477>\
**Category:** Ignition\
**Tags:** vision\
**Created:** [March 23, 2023, 8:15am UTC](https://forum.inductiveautomation.com/t/open-popup-at-bottom-right-corner-of-the-window/71477 "2023-03-23T08:15:45Z")\
**Posts on this page:** 1\
**Showing post:** 8

<div class="post-metadata">

**Author:** ![justinedwards.jle](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/justinedwards.jle/32/37854_2.png) [@justinedwards.jle](https://forum.inductiveautomation.com/u/justinedwards.jle)\
**Post date:** [March 23, 2023, 1:29pm UTC](https://forum.inductiveautomation.com/t/open-popup-at-bottom-right-corner-of-the-window/71477/8 "2023-03-23T13:29:48Z")

</div>

> [@prasath.t](#):
>
> resolution: 1920 x 1080

This assumes that your window is full screen, which I do not feel is correct. You need to get your parent window size. To position a popup on the left side of the parent window, your x coordinate is going to be 0. To position a popup at the bottom of the parent window, your y coordinate will be the height of the parent window minus the height of the popup window.

The code will need to look something like this:

```auto
parentWindow = system.gui.getParentWindow(event)
popup = system.nav.openWindow('Popup')
x = 0
y = parentWindow.height - popup.height
popup.setLocation(x, y)

```

**Edit:** I should note that height is an absolute property that is measured in pixels. Therefore, there shouldn't be any need to consider screen resolution; it will already be accounted for.

---

_[View the full topic](https://forum.inductiveautomation.com/t/open-popup-at-bottom-right-corner-of-the-window/71477)._
