Skip to content

Reduce padding between toggle and edges to 0 #49

@Perondas

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.

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