Skip to content

Commit

Permalink
this time it should work x)
Browse files Browse the repository at this point in the history
  • Loading branch information
Nyan11 committed Jul 31, 2024
1 parent d5d9f8e commit 9a5e8da
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/Pyramid-Bloc/PyramidLibraryElement.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -30,14 +30,16 @@ PyramidLibraryElement >> asForm [
yourself.
formElement forceLayout.
extent := (formElement localBoundsToParent:
(BlBounds fromRectangle: formElement invalidationBounds)) extent.
(BlBounds fromRectangle: formElement invalidationBounds))
extent.
bound := BlBounds
left: 0
top: 0
right: 0
bottom: 0.
formElement childrenDo: [ :each |
bound merge: each invalidationBoundsInParent ].
bound merge: (each localBoundsToParent:
(BlBounds fromRectangle: each invalidationBounds)) ].
extent := bound extent.
possibleSizes := {
(50 @ 50).
Expand Down

0 comments on commit 9a5e8da

Please sign in to comment.