TextAlignment in a button

Started by TguiFan, 15 September 2016, 14:07:09


I really like your library, it really helps me in a personal project.

But there is one thing I want to do, and I don't know how. It concerns the text alignment for buttons. It is centered by default. But if the text takes some lines, all the lines are "left aligned" each others. The lines are not centered relative to the width of the button.

So I want to know if it is possible to center the lines in this way, or if it isn't possible.

Thank you in advance for your answers.

Sorry if my english is not very good, I am french :)


Changing the text alignment of a button is currently not possibe.

The Label class however supports text alignment, so depending on what you need you could use a Label for it.


OK :). Thank you for your answer.