# Strange Window Layout

**URL:** <https://discourse.slicer.org/t/strange-window-layout/7301>\
**Category:** Support\
**Created:** [June 24, 2019, 10:06pm UTC](https://discourse.slicer.org/t/strange-window-layout/7301 "2019-06-24T22:06:37Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![Lorensen](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/lorensen/32/31_2.png) [@Lorensen](https://discourse.slicer.org/u/Lorensen)\
**Post date:** [June 24, 2019, 10:06pm UTC](https://discourse.slicer.org/t/strange-window-layout/7301/1 "2019-06-24T22:06:37Z")

</div>

When I run Slicer, the left window is very large. Do I have some old config file somewhere?

 ![Slicer](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/a/4/a4267df2067f84275564f0df2e354bc6452bc14c.png)

---

<div class="post-metadata">

**Author:** ![jamesobutler](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/jamesobutler/32/7511_2.png) [@jamesobutler](https://discourse.slicer.org/u/jamesobutler)\
**Post date:** [June 24, 2019, 10:21pm UTC](https://discourse.slicer.org/t/strange-window-layout/7301/2 "2019-06-24T22:21:56Z")

</div>

Looks like some weird scaling going on. Did you switch to a 4K/higher-res monitor or something?

Anyways, the left side window area should be resizeable. Just grab the divider between the left window area and the layout manager and move it to the left.

---

<div class="post-metadata">

**Author:** ![Lorensen](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/lorensen/32/31_2.png) [@Lorensen](https://discourse.slicer.org/u/Lorensen)\
**Post date:** [June 24, 2019, 10:26pm UTC](https://discourse.slicer.org/t/strange-window-layout/7301/3 "2019-06-24T22:26:49Z")

</div>

The monitor is 1920x1080. The interface will not let me move it to the left,

---

<div class="post-metadata">

**Author:** ![rkikinis](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/rkikinis/32/791_2.png) [@rkikinis](https://discourse.slicer.org/u/rkikinis)\
**Post date:** [June 25, 2019, 2:20am UTC](https://discourse.slicer.org/t/strange-window-layout/7301/4 "2019-06-25T02:20:39Z")

</div>

The control are the five discrete dots, arranged vertically, between the red viewer and the slider. Did you grab there?

 ![a4267df2067f84275564f0df2e354bc6452bc14c.png](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/4/7/47df720d7d4405f953702bec42b20274a76da517.png)

---

<div class="post-metadata">

**Author:** ![Lorensen](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/lorensen/32/31_2.png) [@Lorensen](https://discourse.slicer.org/u/Lorensen)\
**Post date:** [June 25, 2019, 2:37am UTC](https://discourse.slicer.org/t/strange-window-layout/7301/5 "2019-06-25T02:37:49Z")

</div>

Yes I did. It only lets it move left s tiny bit.

Where is the screen configuration stored? I might have some old config file around.

---

<div class="post-metadata">

**Author:** ![Lorensen](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/lorensen/32/31_2.png) [@Lorensen](https://discourse.slicer.org/u/Lorensen)\
**Post date:** [June 25, 2019, 2:51am UTC](https://discourse.slicer.org/t/strange-window-layout/7301/6 "2019-06-25T02:51:30Z")

</div>

I found the Slicer.ini file and deleted it, but the results are the same.

---

<div class="post-metadata">

**Author:** ![jamesobutler](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/jamesobutler/32/7511_2.png) [@jamesobutler](https://discourse.slicer.org/u/jamesobutler)\
**Post date:** [June 25, 2019, 2:51am UTC](https://discourse.slicer.org/t/strange-window-layout/7301/7 "2019-06-25T02:51:58Z")

</div>

Did you previously have a higher resolution monitor? It appears that it is scaling all the widgets by maybe 250%. Maybe your OS is doing this for the specific application. There’s probably some widget in the left side area that has a larger minimum size which is why you can’t collapse it much further.

QSettings typically stores window location and size but I don’t believe anything related to scaling. The location of the file can be found [https://www.slicer.org/wiki/Documentation/4.10/SlicerApplication/ApplicationSettings#Settings\_file\_location](https://www.slicer.org/wiki/Documentation/4.10/SlicerApplication/ApplicationSettings#Settings_file_location)

---

<div class="post-metadata">

**Author:** ![Lorensen](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/lorensen/32/31_2.png) [@Lorensen](https://discourse.slicer.org/u/Lorensen)\
**Post date:** [June 25, 2019, 2:58am UTC](https://discourse.slicer.org/t/strange-window-layout/7301/8 "2019-06-25T02:58:51Z")

</div>

For sure the widgets are being scaled.

---

<div class="post-metadata">

**Author:** ![lassoan](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/lassoan/32/13_2.png) [@lassoan](https://discourse.slicer.org/u/lassoan)\
**Post date:** [June 25, 2019, 3:13am UTC](https://discourse.slicer.org/t/strange-window-layout/7301/9 "2019-06-25T03:13:00Z")

</div>

You can try adjusting application scaling manually by modifying environment variables before starting Slicer:

```auto
QT_AUTO_SCREEN_SCALE_FACTOR=0
QT_SCALE_FACTOR=2

```

or

```auto
QT_AUTO_SCREEN_SCALE_FACTOR=1

```

You may also try to adjust font size in menu: Edit / Application settings / Appearance.

---

<div class="post-metadata">

**Author:** ![Lorensen](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/lorensen/32/31_2.png) [@Lorensen](https://discourse.slicer.org/u/Lorensen)\
**Post date:** [June 25, 2019, 3:39am UTC](https://discourse.slicer.org/t/strange-window-layout/7301/10 "2019-06-25T03:39:51Z")

</div>

QT\_AUTO\_SCREEN\_SCALE\_FACTOR=0  
QT\_SCALE\_FACTOR=1

Works!

Thanks
