# ImGui offset to Cinder window

**URL:** https://discourse.libcinder.org/t/imgui-offset-to-cinder-window/2052
**Category:** Using Cinder
**Created:** [September 22, 2022, 7:41pm UTC](https://discourse.libcinder.org/t/imgui-offset-to-cinder-window/2052 "2022-09-22T19:41:02Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![Arman](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.libcinder.org/arman/32/669_2.png) [@Arman](https://discourse.libcinder.org/u/Arman)
#### Post date: [September 22, 2022, 7:41pm UTC](https://discourse.libcinder.org/t/imgui-offset-to-cinder-window/2052/1 "2022-09-22T19:41:02Z")

</div>

cinder master dev 0.9.3. MotionBlurVelocityBuffer sample. ImGui view is in lower left quarter. Screen shot is attached. Mouse positions are in upper right ! Key Board UP/Down are correct. Something is amiss !!

 ![imgui_within_cinder](https://canada1.discourse-cdn.com/flex030/uploads/libcinder/original/2X/4/448992a4ab70f7cce1ed4e376f2742ebea0098ac.jpeg)

---

<div class="post-metadata">

### Author: ![Arman](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.libcinder.org/arman/32/669_2.png) [@Arman](https://discourse.libcinder.org/u/Arman)
#### Post date: [September 22, 2022, 7:57pm UTC](https://discourse.libcinder.org/t/imgui-offset-to-cinder-window/2052/2 "2022-09-22T19:57:53Z")

</div>

Update. following an earlier comment I added  
settings-\>setHighDensityDisplayEnabled();  
now the guy window is upper left and proper place.  
Rendered fb is still in lower left.

---

<div class="post-metadata">

### Author: ![lithium](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.libcinder.org/lithium/32/38_2.png) [@lithium](https://discourse.libcinder.org/u/lithium)
#### Post date: [September 22, 2022, 11:14pm UTC](https://discourse.libcinder.org/t/imgui-offset-to-cinder-window/2052/3 "2022-09-22T23:14:45Z")

</div>

You might also need to set `High density capable` to `NO` in your Info.plist as well to fully disable it.

If you actually wanted to use high density mode, make sure any of your calls to `app::getWindowWidth` / `getWindowSize` etc are wrapped in a call to `app::toPixels` to handle the conversion from points to pixels.

---

<div class="post-metadata">

### Author: ![Arman](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.libcinder.org/arman/32/669_2.png) [@Arman](https://discourse.libcinder.org/u/Arman)
#### Post date: [September 23, 2022, 3:14am UTC](https://discourse.libcinder.org/t/imgui-offset-to-cinder-window/2052/4 "2022-09-23T03:14:47Z")

</div>

Thank you.Setting the High density capable to NO was the amiss !!
