Skip to content

Reduce padding between toggle and edges to 0 #49

Description

@Perondas

I am trying to create a switch like in this image:
image

However, I cannot find a way to reduce the distance between the toggle and the edges to 0.
It ends up looking like this:
image

It would be nice if there was a setting that allows to remove this little bit of padding.

I have already looked at the code and by subtracting 9 from the Container width on line 382 I get the following:
image

This is certainly better, but the 9 is hardcoded for my specific toggle size.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions