-
- Downloads
Factor out text alignment
The position of aligned text depends on the width of the text,
which may change. This happens when a CSS stylesheet redefines
the default font. The diagram editor will open with slightly
misplaced text (e.g. on channels), which is only updated when one
moves the mouse. The class AlignedText updates the text
translation automatically when the text size changes.
Signed-off-by:
Ulrich Schöpp <schoepp@fortiss.org>
Issue-Ref: 4184
parent
9d49df7c
No related branches found
No related tags found
Showing
- org.fortiss.tooling.base.ui/src/org/fortiss/tooling/base/ui/editor/fx/visual/.ratings 1 addition, 1 deletion...src/org/fortiss/tooling/base/ui/editor/fx/visual/.ratings
- org.fortiss.tooling.base.ui/src/org/fortiss/tooling/base/ui/editor/fx/visual/NamedLayoutedCircularAnchorageContentVisual.java 31 additions, 32 deletions...x/visual/NamedLayoutedCircularAnchorageContentVisual.java
- org.fortiss.tooling.common.ui/src/org/fortiss/tooling/common/ui/javafx/lwfxef/visual/rectangular/.ratings 1 addition, 1 deletion...oling/common/ui/javafx/lwfxef/visual/rectangular/.ratings
- org.fortiss.tooling.common.ui/src/org/fortiss/tooling/common/ui/javafx/lwfxef/visual/rectangular/LineSegment.java 8 additions, 7 deletions...mmon/ui/javafx/lwfxef/visual/rectangular/LineSegment.java
- org.fortiss.tooling.common.ui/src/org/fortiss/tooling/common/ui/javafx/lwfxef/visual/widgets/.ratings 1 addition, 0 deletions...s/tooling/common/ui/javafx/lwfxef/visual/widgets/.ratings
- org.fortiss.tooling.common.ui/src/org/fortiss/tooling/common/ui/javafx/lwfxef/visual/widgets/AlignedText.java 77 additions, 0 deletions...g/common/ui/javafx/lwfxef/visual/widgets/AlignedText.java
Please register or sign in to comment