eclipse / nebula

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

If WordWrap is enabled the alignment is ignored #599

Closed laeubi closed 5 months ago

laeubi commented 5 months 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.