-
-
Notifications
You must be signed in to change notification settings - Fork 201
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
Fix Activity Swimlanes aren't visible #2996
Conversation
The Box shape had a `__len__` attribute, that rendered the Box false-ish.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great fix @amolenaar!
I'm not sure if this is related to this bug, but shouldn't be make the default size of Swimlanes a bit larger?
That should not be too hard. |
This is also a regression. In 2.22.1 the lanes are wider by default. |
Add some dummy boxes to ensure a minimal width.
@danyeaw I added some dummy boxes to ensure a minimal width. This broke since empty boxes no longer yield false in if-stamenets, hence the update code of The proper solution is to break it up in shapes, for text and the actual swimlanes. I think we lack a few features there still. |
PR Type
What kind of change does this PR introduce?
What is the current behavior?
Any item with a Box shape and no children, does not draw.
This goes for Swimlanes (partitions), but also rectangles.
Issue Number: #2988
What is the new behavior?
Swimlanes are shown again.
Does this PR introduce a breaking change?
Other information