# Support for multiple windows?

**URL:** <https://openrndr.discourse.group/t/support-for-multiple-windows/640>\
**Category:** OPENRNDR\
**Created:** [March 17, 2024, 7:57am UTC](https://openrndr.discourse.group/t/support-for-multiple-windows/640 "2024-03-17T07:57:51Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![joekhan](https://yyz2.discourse-cdn.com/free1/user_avatar/openrndr.discourse.group/joekhan/32/687_2.png) [@joekhan](https://openrndr.discourse.group/u/joekhan)\
**Post date:** [March 17, 2024, 7:57am UTC](https://openrndr.discourse.group/t/support-for-multiple-windows/640/1 "2024-03-17T07:57:51Z")

</div>

Hi I’m considering OpenRNDR for my next project.

I wanted to ask if it supports multiple windows as I have not been able to find any examples.

For my usecase I would want to have a small control panel UI window on one screen and then the output on a secondary screen as a fullscreen window.

Is something like that possible with openRNDR? Could you point me to the right direction? Thank you 🙂

---

<div class="post-metadata">

**Author:** ![abe](https://yyz2.discourse-cdn.com/free1/user_avatar/openrndr.discourse.group/abe/32/700_2.png) [@abe](https://openrndr.discourse.group/u/abe)\
**Post date:** [March 17, 2024, 7:43pm UTC](https://openrndr.discourse.group/t/support-for-multiple-windows/640/2 "2024-03-17T19:43:15Z")

</div>

Hi @joekhan! Welcome to the forum 🙂

I think the multi-window feature is available in openrndr 0.4.5-alpha2  
You should get that version if you use the `next-version` branch of the `openrndr-template`.

There are at least two demos you can study under [openrndr/openrndr-demos/src/main/kotlin at master · openrndr/openrndr · GitHub](https://github.com/openrndr/openrndr/tree/master/openrndr-demos/src/main/kotlin)

Let me know if you try it! I still didn’t have time to give it a spin 🙂

Cheers!

---

<div class="post-metadata">

**Author:** ![joekhan](https://yyz2.discourse-cdn.com/free1/user_avatar/openrndr.discourse.group/joekhan/32/687_2.png) [@joekhan](https://openrndr.discourse.group/u/joekhan)\
**Post date:** [March 18, 2024, 6:31am UTC](https://openrndr.discourse.group/t/support-for-multiple-windows/640/3 "2024-03-18T06:31:59Z")

</div>

This looks really promising thank you! Will try right away 😃

---

<div class="post-metadata">

**Author:** ![joekhan](https://yyz2.discourse-cdn.com/free1/user_avatar/openrndr.discourse.group/joekhan/32/687_2.png) [@joekhan](https://openrndr.discourse.group/u/joekhan)\
**Post date:** [March 18, 2024, 7:20am UTC](https://openrndr.discourse.group/t/support-for-multiple-windows/640/4 "2024-03-18T07:20:46Z")

</div>

Seems to work pretty well but I’m facing an issue where the contents of the window shrinks to 1/4th of it when moving it to a secondary display. Is this perhaps a known issue on macOS? I am also able to reproduce the bug running the default template demo on master branch:

 ![Screenshot 2024-03-18 at 16.20.10](https://global.discourse-cdn.com/free1/uploads/openrndr/original/1X/76ac563f6c47b5413042a663b8524b292ae0e222.png)

---

<div class="post-metadata">

**Author:** ![abe](https://yyz2.discourse-cdn.com/free1/user_avatar/openrndr.discourse.group/abe/32/700_2.png) [@abe](https://openrndr.discourse.group/u/abe)\
**Post date:** [March 18, 2024, 11:59am UTC](https://openrndr.discourse.group/t/support-for-multiple-windows/640/5 "2024-03-18T11:59:13Z")

</div>

I hear that it might be related to mixed DPI and this probably needs some work. I’ll post more news when I have them 🙂

---

<div class="post-metadata">

**Author:** ![abe](https://yyz2.discourse-cdn.com/free1/user_avatar/openrndr.discourse.group/abe/32/700_2.png) [@abe](https://openrndr.discourse.group/u/abe)\
**Post date:** [March 25, 2024, 1:15pm UTC](https://openrndr.discourse.group/t/support-for-multiple-windows/640/6 "2024-03-25T13:15:55Z")

</div>

Meanwhile… is there any way to have the same DPI in both screens?

---

<div class="post-metadata">

**Author:** ![joekhan](https://yyz2.discourse-cdn.com/free1/user_avatar/openrndr.discourse.group/joekhan/32/687_2.png) [@joekhan](https://openrndr.discourse.group/u/joekhan)\
**Post date:** [March 26, 2024, 6:22am UTC](https://openrndr.discourse.group/t/support-for-multiple-windows/640/7 "2024-03-26T06:22:41Z")

</div>

Hey there! Sorry about the late reply.  
Yes, that’s what I’m doing for now 🙂  
In macos display settings I can set the external display to be in the resolution marked as HiDPI and then things work fine

---

<div class="post-metadata">

**Author:** ![joekhan](https://yyz2.discourse-cdn.com/free1/user_avatar/openrndr.discourse.group/joekhan/32/687_2.png) [@joekhan](https://openrndr.discourse.group/u/joekhan)\
**Post date:** [March 27, 2024, 2:58am UTC](https://openrndr.discourse.group/t/support-for-multiple-windows/640/8 "2024-03-27T02:58:09Z")

</div>

Off-topic but I’ve been watching your videos on shaders and they are extremely helpful! Hope you guys can make more in the future 😃

---

<div class="post-metadata">

**Author:** ![abe](https://yyz2.discourse-cdn.com/free1/user_avatar/openrndr.discourse.group/abe/32/700_2.png) [@abe](https://openrndr.discourse.group/u/abe)\
**Post date:** [March 27, 2024, 8:03am UTC](https://openrndr.discourse.group/t/support-for-multiple-windows/640/9 "2024-03-27T08:03:12Z")

</div>

I’m happy to hear that, thank you for letting us know! @Alessandro has been very busy with work lately and I hope he has time soon for some more conversations. Looking forward to it 🙂

---

<div class="post-metadata">

**Author:** ![abe](https://yyz2.discourse-cdn.com/free1/user_avatar/openrndr.discourse.group/abe/32/700_2.png) [@abe](https://openrndr.discourse.group/u/abe)\
**Post date:** [May 20, 2024, 6:55am UTC](https://openrndr.discourse.group/t/support-for-multiple-windows/640/10 "2024-05-20T06:55:59Z")

</div>

Now there’s two demos for having a GUI on a separate window  
(for now only available if you build orx yourself). Basically one only needs to replace `GUI` with `WindowedGUI` 🙂

> <https://github.com/openrndr/orx/blob/master/orx-jvm/orx-gui/src/demo/kotlin/DemoMultiWindow02.kt>
