Using table to build a dynamic grid - cells look strange sometimes #575
Unanswered
manuel-koch
asked this question in
Q&A
Replies: 2 comments 3 replies
-
Looks like imgui will remember the top position of previous widget. One way to resolve this is wrap label into a custom widget which has same border of button. |
Beta Was this translation helpful? Give feedback.
2 replies
-
@AllenDang any idea why empty cells/row has arkward height ? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I try to build a grid like layout where all cells are equally sized.
When keeping the available number of cells the same and varying row/column numbers, the following simple example does work in some cases, but looks strange in others.
Can anybody help to get it done right ?
main.go
grid.go
Attached some example screenshots.
Additional questions:
Beta Was this translation helpful? Give feedback.
All reactions