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

Percentage-based and relative sizes, positions #14

Open Trigary opened 4 years ago

Trigary commented 4 years ago

Currently, sizes and positions can only be assigned a value directly that is scaled by the Minecraft client later on. In addition to this, percentage values should be supported which get resolved based on the width/height of the Minecraft game window.

Trigary commented 4 years ago

Support for positions such as "center", "right" inside containers should also be added. Different containers and different orientations might interpret these settings differently.

Question: should the root container also support these options? I currently believe that it's not necessary since that's not what the root container is for.