Skip to content

New feature: label inside the switch#20

Open
pmioni wants to merge 3 commits into
drewjbartlett:masterfrom
HCESrl:master
Open

New feature: label inside the switch#20
pmioni wants to merge 3 commits into
drewjbartlett:masterfrom
HCESrl:master

Conversation

@pmioni

@pmioni pmioni commented Aug 21, 2018

Copy link
Copy Markdown

Hi, since I needed it for a project I've added the option for putting the label inside the switch. Label is centered and the width of the label is based on the longer text that needs to fit the container, using a hidden text (a fairly crude method, but I couldn't think of a better one!).

If you like it, considering pulling the change. If you would like to receive screenshots, let me know.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant