Skip to content

expose grid-size#6210

Merged
willmcgugan merged 3 commits into
mainfrom
grid-size
Nov 8, 2025
Merged

expose grid-size#6210
willmcgugan merged 3 commits into
mainfrom
grid-size

Conversation

@willmcgugan

Copy link
Copy Markdown
Member

Add grid_size property

"""The grid size after the last arrange call.

Returns:
A tuple of (WIDTH, HEIGHT) or `None` prior to the first `arrange`.

@TomJGooding TomJGooding Nov 8, 2025

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this grid size actually columns/rows rather than width/height?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The values are the same. As for naming, my brain works best with width/height nomenclature. I have to do mental gymnastics to convert from columns/rows.

@willmcgugan willmcgugan merged commit aed5879 into main Nov 8, 2025
23 checks passed
@willmcgugan willmcgugan deleted the grid-size branch November 8, 2025 17:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants