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

Fallback striped area length for grid resize #6542

Closed
ruggi opened this issue Oct 15, 2024 · 0 comments · Fixed by #6543
Closed

Fallback striped area length for grid resize #6542

ruggi opened this issue Oct 15, 2024 · 0 comments · Fixed by #6543
Assignees

Comments

@ruggi
Copy link
Contributor

ruggi commented Oct 15, 2024

No description provided.

@ruggi ruggi self-assigned this Oct 15, 2024
ruggi added a commit that referenced this issue Oct 16, 2024
**Problem:**

When resizing a grid col/row if the counterpart has no size, the striped
area collapses to `0` pixels.

**Fix:**

Fallback to the frame size if the counterpart axis has no size. Also,
disable the mouse event if the dimension is not set.

| Before | After |
|------|--------|
| ![Kapture 2024-10-15 at 21 19
53](https://github.com/user-attachments/assets/e9bdcceb-07a5-4b70-9f31-7e6d8dc3b6fe)
| ![Kapture 2024-10-15 at 21 19
37](https://github.com/user-attachments/assets/dfa0b547-e7f7-48a5-a2ae-b3c173640ba8)
|


Fixes #6542
liady pushed a commit that referenced this issue Dec 13, 2024
**Problem:**

When resizing a grid col/row if the counterpart has no size, the striped
area collapses to `0` pixels.

**Fix:**

Fallback to the frame size if the counterpart axis has no size. Also,
disable the mouse event if the dimension is not set.

| Before | After |
|------|--------|
| ![Kapture 2024-10-15 at 21 19
53](https://github.com/user-attachments/assets/e9bdcceb-07a5-4b70-9f31-7e6d8dc3b6fe)
| ![Kapture 2024-10-15 at 21 19
37](https://github.com/user-attachments/assets/dfa0b547-e7f7-48a5-a2ae-b3c173640ba8)
|


Fixes #6542
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 a pull request may close this issue.

1 participant