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

Fix linespacing setting #75

Merged
merged 1 commit into from
Apr 26, 2016
Merged

Fix linespacing setting #75

merged 1 commit into from
Apr 26, 2016

Conversation

Econa77
Copy link
Contributor

@Econa77 Econa77 commented Apr 24, 2016

@IBInspectable is not support Float?.
didSet is not called because they are not executed in runtime.

lineSpacing of NSMutableParagraphStyle default 0, so it puts a 0 to the default value.
Now, the text that is correct linespace even on the Storyboard is reflected is displayed.

Before
_2016-04-24_20_11_10

After
_2016-04-24_20_11_34

@IBInspectable is not support Float?. didSet is not called because they are not executed in runtime.
@Econa77 Econa77 changed the title Fix linespacing setting. Fix linespacing setting Apr 24, 2016
@polqf
Copy link
Contributor

polqf commented Apr 26, 2016

Thanks a lot @Econa77, makes a lot of sense !

@polqf polqf merged commit 375f79f into optonaut:master Apr 26, 2016
@Econa77 Econa77 deleted the fix-linespacing branch April 27, 2016 02:01
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.

None yet

2 participants