Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Space between title and subtitle when subtitle is long #228

Open
igorkulman opened this issue Oct 31, 2017 · 0 comments
Open

Space between title and subtitle when subtitle is long #228

igorkulman opened this issue Oct 31, 2017 · 0 comments

Comments

@igorkulman
Copy link

I use a toast with icon, title and subtitle. I only want the subtitle to be one line, so setting kCRToastSubtitleTextMaxNumberOfLinesKey to 1.

When the subtitle is some short text, it works fine

image

but with a longer subtitle there is a strange space between the title and the subtitle

image

I guess a sizeToFit call is missing somewhere.

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

No branches or pull requests

1 participant