una-xiv / umbra

Umbra XIV - Adds quality of life improvements to the game and consolidates common UI elements and actions into a single uniform interface.
GNU Affero General Public License v3.0
51 stars 18 forks source link

[Feature Request] Add config to offset the center element for each side #35

Closed wolfcomp closed 2 months ago

wolfcomp commented 2 months ago

Would be nice to have an option that says to offset the left element and right center element x pixels to each specific direction.

center line IMG_20240428_145441

haroldiedema commented 2 months ago

🤣

Yes. We can do that. To be clear, what you're asking for is a setting that controls the spacing around the weather icon, right? In your case, to allow the text to appear next to your webcam clamp 😛

wolfcomp commented 2 months ago

Yep split where the red line is so weather is on one side the location on the other

haroldiedema commented 2 months ago

Oh, I would've hoped the weather icon could stay in the middle 😂

wolfcomp commented 2 months ago

If you calculate the center position based on the elements with adding a ImGui.Dummy where that red line is, that shouldn't be an issue. If you do it each element, have fun 😛

haroldiedema commented 2 months ago

Oh no, it's not that complex. All I need to do is increase the margin value of the element.