You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Style's font/size is set to nil by default and not override previously set style; font owns attributes are applied only when font/size is explicitly set for Style
#43
letnormal=Style{ $0.font =UIFont.systemFont(ofSize:8); $0.color =UIColor.black }letred=Style{ $0.color =UIColor.red }letgroup=StyleGroup(base: normal,["red": red])"This font size is small, <red>This font size is big</red>".set(style: group)
And the result is:
Is this a preferred effect?
The text was updated successfully, but these errors were encountered:
malcommac
changed the title
The special tag's unspecified property are not inherit from base style in StyleGroup
Style's font/size is set to nil by default and not override previously set style; font owns attributes are applied only when font/size is explicitly set for Style
Aug 30, 2018
I made styles like this:
And the result is:
Is this a preferred effect?
The text was updated successfully, but these errors were encountered: