Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactoring the Table widget #36

Open
SirMallard opened this issue Oct 26, 2023 · 1 comment
Open

Refactoring the Table widget #36

SirMallard opened this issue Oct 26, 2023 · 1 comment
Labels
enhancement New feature or request
Milestone

Comments

@SirMallard
Copy link
Collaborator

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.

@SirMallard SirMallard added the bug Something isn't working label Oct 26, 2023
@Michael-48
Copy link
Owner

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:

  • resizing columns
  • header rows and header columns
  • selectable rows

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.

@Michael-48 Michael-48 changed the title Table rows are not aligned Refactoring the Table widget Mar 1, 2024
@Michael-48 Michael-48 added enhancement New feature or request and removed bug Something isn't working labels Mar 1, 2024
@Michael-48 Michael-48 added this to the v2.3.0 milestone Mar 1, 2024
@SirMallard SirMallard modified the milestones: v2.3.0, v2.4.0 Jul 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants