Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow Justification on Buttons, ToggleButtons and Labels #28

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Allow Justification on Buttons, ToggleButtons and Labels #28

wants to merge 3 commits into from

Conversation

Jamie-Booth
Copy link

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

Added the ability to justify text (left, centre, right) for a button,
togglebutton and label, which also Fixes #27.  Examples have not been
created as yet, and current examples impacted by this change have not
been updated.  I'll do this once the change is approved.
Sorry, got out of sync from my dev branch to this master branch.
@TankOs
Copy link
Owner

TankOs commented Dec 12, 2015

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. :)

@Jamie-Booth
Copy link
Author

No worries.

@TankOs TankOs added the feature label Jul 15, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants