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

Rotated rectangles cannot be left aligned correctly. #4805

Open
2 tasks done
bhannebipro opened this issue Dec 23, 2024 · 0 comments
Open
2 tasks done

Rotated rectangles cannot be left aligned correctly. #4805

bhannebipro opened this issue Dec 23, 2024 · 0 comments

Comments

@bhannebipro
Copy link

bhannebipro commented Dec 23, 2024

Preflight Checklist

  • I agree to follow the Code of Conduct that this project adheres to.
  • I have searched the issue tracker for a feature request that matches the one I want to file, without success.

Describe the bug
Rotated rectangles cannot be left aligned correctly, the misalignment is linked to the width difference.

To Reproduce
Steps to reproduce the behavior:

  1. Create an empty diagram
  2. Create a rectangle rotate the rectangle by -90°
  3. Duplicate the rectangle
  4. Change the second rectangle width
  5. Arrange Menu/Left Align
  6. The two rectangles are not left aligned (it depends on the width difference)

Expected behavior
Correct alignment

Screenshots

  • Diagram

<mxGraphModel dx="1102" dy="702" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="1654" pageHeight="1169" math="0" shadow="0"> <root> <mxCell id="0" /> <mxCell id="1" parent="0" /> <mxCell id="0hK1olwsp-wL4n4ZFEIl-3" value="" style="rounded=0;whiteSpace=wrap;html=1;rotation=270;" vertex="1" parent="1"> <mxGeometry x="230" y="240" width="120" height="60" as="geometry" /> </mxCell> <mxCell id="0hK1olwsp-wL4n4ZFEIl-4" value="" style="rounded=0;whiteSpace=wrap;html=1;rotation=270;" vertex="1" parent="1"> <mxGeometry x="230" y="435" width="210" height="60" as="geometry" /> </mxCell> </root> </mxGraphModel>

Capture d'écran 2024-12-23 112939

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

No branches or pull requests

1 participant