mirror of
https://github.com/rivo/tview.git
synced 2026-05-01 07:45:50 +03:00
[GH-ISSUE #951] Grid fixed column/row size goes to bottom right #699
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/tview#699
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @jvalkeal on GitHub (Feb 23, 2024).
Original GitHub issue: https://github.com/rivo/tview/issues/951
I'm asking because docs don't explicitly mention anything about any column/row not taking remaining space but does mention a lot about top-left logic.
If I write existing grid demo as:
Xis always placed in a bottom-right corner.This looks something like:
Do I misunderstood grig logic as I'm kinda expecting
Xto be in a top-left corner like:@rivo commented on GitHub (Apr 4, 2024):
To be honest, I have no idea why there was code which would align the last grid item to the bottom right corner. I wrote this 5 years ago and don't remember why.
I removed it with the latest commit while hoping I haven't broken any situation where it actually made sense.