I find it very useful to the editor and I’d like to have the relative position option for elements.
Archive 17/01/2023.
UI elements relative position
carlomaker
cadaver
Do you mean in percentage relative to the parent element?
There was an issue for that on github posted by cin, but he closed it.
It’s somewhat of a large change and may mean that all ints in UI elements related to position/size may need to be changed to floats.
carlomaker
ok, but for me it 's really important to find a solution,
? maybe it’s not elegant but it works and I wanted to share it.
This method seems to work, with my elements, maybe there could be other problems, however it could be a good starting point,
just call GuiHelper :: Redraw after the reading of the layout.