on 01-22-2015 11:47 AM
Hi ,
I have created a widget out of a SAP UI5 application. Basically its calling a label with a text.
I have updated the LESS file with the updated parameter values as:
@SiteFontColor: #FF0000;
@SiteFontFamily: Comic Sans MS, cursive, sans-serif;
1)The Font Color does nt seem to get reflected at the site level but it does at the widget level.
2) The font family does seem to get reflected at the site level but not at the widget level.
How can I change the font family for the SAPUI5 widget in HCP
Kindly advise.
Hi,
Did you use sap-theme feature in the spec.xml file?
<Require feature="sap-theme">
<Param name="include-ui5">true</Param>
</Require>
SAP HANA Cloud Portal Documentation
Regards,
Eliel.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I have created a widget out of a SAPUI5 application.
I have to change font style,font size and the font color of the controls in this widget.
I have made the given changes in the LESS file:
@WidgetFontFamily: Comic Sans MS;
@WidgetFontSize: 20px;
@WidgetFontColor: #FFFF00;
.
I have updated the spec file with
<Require feature="sap-theme">
<Param name="include-ui5">true</Param>
</Require>
The changes isnt getting reflectd.
Please try to drag again thw widget to the page and check this after you publish your site.
If this is still not working, then it looks like a bug. Please raise a customer ticket.
I will ask someone from the developement teams to check this issue.
Please send me your code and Less file.
Inbal
User | Count |
---|---|
87 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.