Skip to content

incorrect default edge insets #2

@jpaas

Description

@jpaas

Line 59 of MKToggleButton.m has this line:

self.contentEdgeInsets = UIEdgeInsetsMake(4., 3., 5., 3.);

This causes the text to be located in a bit of a strange place and caused the solid, filled version of the button to not entirely fill the button leaving an unfilled strip at the bottom. Removing this line made it work properly for me.

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