Skip to content
This repository has been archived by the owner on Oct 10, 2020. It is now read-only.

Added attribute to center button contents #38

Closed
wants to merge 1 commit into from

Conversation

Jwildsmith
Copy link

@Jwildsmith Jwildsmith commented Aug 18, 2020

Added a simple attribute to the StretchableButton widget to allow for centering of the button contents as the buttons expand.

  • I left the default behavior not centered and the attribute false to maintain compatibility.
  • I also updated the current library of auth buttons to work with this change.
  • Tested within my own project and behaves like original package with new functionality
  • Not sure if any documentation changes are needed as it is an easily found attribute for the widgets, open to discussion and revision of current documentation if needed.

Fixes #31

…tional centering of button contents. Updated current buttons to support the feature.
@dmjones dmjones mentioned this pull request Aug 29, 2020
@dmjones
Copy link
Owner

dmjones commented Aug 29, 2020

LGTM, thanks for opening this. I've made a few minor tweaks and will merge this work in #39.

@dmjones dmjones closed this Aug 29, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Size is unajustable.
2 participants