Trigary / Iodine

A Minecraft mod - server plugin pair that adds custom GUIs and overlays. No more inventory and chat menus!
GNU General Public License v3.0
24 stars 0 forks source link

Better UI framework #8

Closed Trigary closed 4 years ago

Trigary commented 5 years ago

The current system only allows absolute positioning, which is easy to implement but isn't ideal. New GUI containers and a padding system should be implemented: the position of elements would have to be resolved based on the width, height and padding of the other previous elements in the same container. The container's width and height should also be resolved based on its children.

It should also be kept in mind that a chat-based UI framework as a backup for non-modded players is planned.

Trigary commented 4 years ago

Padding, linear and grid layouts have been added.