graphy icon indicating copy to clipboard operation
graphy copied to clipboard

Automatic layout for UI

Open 0xdavidel opened this issue 2 years ago • 1 comments

When I set certain settings, the RAM module is very far down from with the FPS module. It would be cool if it was modular and automatically changed the margin between the two modules depending on what is the current setting is, and their contents are (you can see the FPS counter numbers are out of the gray box)

FPS: Module state: Basic RAM: Module state: Basic Audio: Module state: Off Advanced Data: Module state: off

image

0xdavidel avatar May 08 '22 18:05 0xdavidel

Thanks for bringing this up! I've tried to fix this in the past. The main issue is that components that are designed for this (like Vertical Layouts and Content Size Fitters) are not very performant. There are workarounds like enabling this components only when the module state changes and then de-activating them, but it's a bit of a pain in the ass hahaha.

TLDR: Doable, but low priority.

Tayx94 avatar May 08 '22 18:05 Tayx94