eclipse / nebula

Nebula Project
https://eclipse.org/nebula
Eclipse Public License 2.0
84 stars 97 forks source link

If WordWrap is enabled the alignment is ignored #599

Closed laeubi closed 3 weeks ago

laeubi commented 1 month ago

Currently if one set wordwrap to true a textlayout is used to render the text, but if one combines this with for example a center align the text still is left aligned.

This now sets the alignment into the textlayout to perform desired rendering.