SirMallard / Iris

Iris is an Immediate-Mode GUI Library for Roblox for creating debug and visualisation UI and tools, based on Dear ImGui,
https://sirmallard.github.io/Iris/
MIT License
164 stars 25 forks source link

Iris.Table: Refactor #36

Open SirMallard opened 11 months ago

SirMallard commented 11 months ago

Mentioned by Sluethen on the Roblox OSS Discord server. image Table rows are often not aligned if the items are too large. I'm not sure quite was courses this and at the moment I can't remember how Iris.Table handles unevenly sized boxes.

Additionally, if Roblox introdcues a UIFlexLayout then that might be useful to fix this.

Michael-48 commented 11 months ago

As posted on the OSS discord: "This was a compromise i had to make when deciding to use roblox UIComponents to create tables, there aren't any combinations of UICompontents which allow you to link together rows and columns in a way that both are automatically sized based on each other. im hopeful that flexboxes will shake up a most of the layout widgets in Iris, especially tables."

To effectively resolve this issue (as far as I am aware) would mean to rewrite a majority of Iris Tables, which is something that i do have in mind. There are tons of features of ImGui tables which Iris tables lack, Most important to me are:

I would be remiss if i didn't add these features when working on an update to tables, so I'm going to leave tables as they are now, in anticipation for the release of UIFlexLayout.