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

Changed RulerLayout to directly inherit from AbstractLayout #418 #419

Merged
merged 1 commit into from
Apr 13, 2024

Conversation

azoitl
Copy link
Contributor

@azoitl azoitl commented Apr 12, 2024

RulerLayout inherited from XYLayout. The later assumed that children constraint are rectangles. As this is not valid for RulerLayouts the RulerLayout was changed to inherit from AbstractLayout and use its own constraint map with Integers.

Fixes #418

@azoitl azoitl requested a review from ptziegler April 12, 2024 19:28
@azoitl
Copy link
Contributor Author

azoitl commented Apr 12, 2024

@wiresketch thx in advance for cross checking.

…ef#418

RulerLayout inherited from XYLayout. The later assumed that children
constraint are rectangles. As this is not valid for RulerLayouts the
RulerLayout was changed to inherit from AstractLayout and use its own
constraint map with Integers.

Fixes eclipse-gef#418
@ptziegler ptziegler merged commit 451bc1f into eclipse-gef:master Apr 13, 2024
9 checks passed
@azoitl azoitl deleted the rulerLayoutFix branch April 13, 2024 21:44
@ptziegler ptziegler added this to the 3.20.0 milestone Apr 25, 2024
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.

Ruler guides are broken in GEF 3.19.0.202402212051
2 participants