Page 1 of 1

UI Boundaries for Wacky Resolutions (Like 5760x1080)

Posted: Thu Jan 10, 2019 10:41 pm
by osxi
Hey everyone! Just bought the game, decided to write my first post, and hopefully give something back to the community!

tl;dr can I configure where UI elements go on my wide resolution?

What I've observed:
  • on 5760x1080 (Nvidia Surround via three 1920x1080 displays), the left and right-most UI elements are all the way at the left and right edges of my displays respectively i.e., the stuff on the left is basically absolutely positioned at x = 0 and the UI elements on the right are positioned at a negative x location (bear with me if that was confusing)
  • config.ini doesn't appear to have any way to specify the repositioning of the UI elements
What I think would be cool:
  • there was an Options modal that contained a WYSIWYG (e.g., draggable/resizeable rectangle representing the constraints of UI elements)
  • constraints (maybe not the width or height but at least the x and y positions) could be configured from the user's config.ini
Why I think this would be cool:
  • swiveling my head around so much might cause undue wear and tear on my spine but if all the UI elements were, for example, placed on the center monitor of a 3-monitor setup, you would be able to gather all the information you need without turning your head and use the adjacent displays for peripheral vision (the stuff happening on the map anyway)
  • folks with weird displays like 47" 21:9 displays or an arbitrary number of displays via Surround/Eyefinity could tighten-up their UI to extend their spine longevity
So I'm wondering, is it possible to configure the game like this already (maybe I missed something) or possible to create a mod that achieves this?

Re: UI Boundaries for Wacky Resolutions (Like 5760x1080)

Posted: Fri Jan 11, 2019 4:17 am
by osxi
Just saw viewtopic.php?f=5&t=51088 and became a bit discouraged. I also dug around through the Lua API docs, I didn't see anything useful for addressing this issue.

Re: UI Boundaries for Wacky Resolutions (Like 5760x1080)

Posted: Fri Jan 11, 2019 6:35 am
by Zavian
There is also this post by one of the devs. viewtopic.php?f=38&t=60463&start=40#p363417 . No idea what the current intentions that way are.

I'll note that there is a GUI rewrite coming soon. (I think it is intended to be in 0.17, but I'm not positive the new GUI will be ready by then). I have no idea whether that sort of feature will be part of the new GUI, but there was no point in adding it to the old GUI if they were going to replace the code anyway.

Re: UI Boundaries for Wacky Resolutions (Like 5760x1080)

Posted: Fri Jan 11, 2019 7:40 am
by osxi
Zavian wrote: Fri Jan 11, 2019 6:35 am There is also this post by one of the devs. viewtopic.php?f=38&t=60463&start=40#p363417 . No idea what the current intentions that way are.

I'll note that there is a GUI rewrite coming soon. (I think it is intended to be in 0.17, but I'm not positive the new GUI will be ready by then). I have no idea whether that sort of feature will be part of the new GUI, but there was no point in adding it to the old GUI if they were going to replace the code anyway.
Awesome! I’m late to the (very exciting) party.