Bug for text alignment in richtextview

Using a richtexttoolbar together with a richtextview shows wrong behaviour in text alignment for center and right justify. Selecting the center icon in the toolbar aligns the text to the right, selecting right justify brings text to the center.

How could this bug be fixed?

A first approach to just change the event handler for the OnClick of the buttons is only partially successful for during the later use of the richttext the wrong toolbar item is highlighted when working with aligned text.

Hi,

We have applied a fix. Next version will address this. Thanks for reporting