SFGUI icon indicating copy to clipboard operation
SFGUI copied to clipboard

Allow Justification on Buttons, ToggleButtons and Labels

Open Jamie-Booth opened this issue 10 years ago • 2 comments

This code will allow buttons, togglebuttons and labels to be justified. It currently does not validate or default it the provided position to a valid one. A position can be provided to appear outside of the widgets allocation and it will do so (displaying nothing).

I'll correct that before the final pull request, this is just to get initial feedback before too much work is done.

Left Justified aligns on the start of the text. Centre Justified (default) aligns on the centre of the text. Right Justified aligns on the end of the text.

Fixes #27

Jamie-Booth avatar Nov 10 '15 03:11 Jamie-Booth

Hey, thanks for your contribution, and sorry for the late reply. I added it to my review list and wi come back once I find time to check it. :)

TankOs avatar Dec 12 '15 10:12 TankOs

No worries.

Jamie-Booth avatar Dec 14 '15 11:12 Jamie-Booth