3 weeks ago
Hi Community,
I am trying to change the Font size on different MDK controls however nothing seems to work.
Based on the documentation we should be able to use CSS attribute font-style: UIFont.textstyle however I am not able to find any place where it mentions what are the valid values under that type? I have found an Apple documentation that has some constants like "extraLargeTitle" however that doe not seem to work on a simplepropertycell or objectheader title that I tried.
Could you please advice the possible values for that CSS attribute and if it is possible indeed to change the font type/size on iOS devices ?
Thanks!
Request clarification before answering.
Background color should be set using the BackgroundColor Style metadata property. You can't set the background color of the other elements of the Object Cell. If they contain a background-color in the Styles.less it is ignored. This style is used in example screenshot below to give the purple background to the one cell.
.backgroundColor {
background-color: #5A1BEB;
}
For font-style the list of valid values is the UIFont.TextStyle constants here
Here is an example
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I will have to see if I can get it working and confirm one way or the other.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
12 | |
9 | |
8 | |
8 | |
5 | |
4 | |
4 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.