Skip to content

Conversation

@ptziegler
Copy link
Contributor

This adapts the VerticalLabel to extend the Draw2D Label class, rather than our copy, in order to clean up the usage in the TextFeedback class.

There is no benefit to using our classes over the upstream classes and migrating makes it possible to remove them at a later stage.

@ptziegler ptziegler added this to the 1.21.0 milestone Jul 17, 2025
@ptziegler
Copy link
Contributor Author

image

@ptziegler ptziegler force-pushed the text-feedback-figure branch from a540bec to 2d6e56a Compare July 17, 2025 19:03
This adapts the VerticalLabel to extend the Draw2D Label class, rather
than our copy, in order to clean up the usage in the TextFeedback class.

There is no benefit to using our classes over the upstream classes and
migrating makes it possible to remove them at a later stage.
@ptziegler
Copy link
Contributor Author

The whole step of first painting the vertical text onto an image and then the image onto the canvas can be skipped entirely, simply by rotating the Graphics object. 🎉

@ptziegler ptziegler force-pushed the text-feedback-figure branch from 2d6e56a to 63a3e31 Compare July 17, 2025 19:08
@ptziegler ptziegler merged commit 92a9b14 into eclipse-windowbuilder:master Jul 17, 2025
8 checks passed
@ptziegler ptziegler deleted the text-feedback-figure branch July 17, 2025 20:25
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.

1 participant