[SF][RatingIndicator]: [Rating Star should be able to be set size and some other issues]
Describe the bug
-
RatingIndicator component can't set size, while UI5 version can set;
-
In a display-only form, the half rating will show a hollow star style, while the Fiori doc shows a solid one and it seems more consistant. React:
Doc:
Isolated Example
No response
Reproduction steps
1. 2. 3. ...
Expected Behaviour
No response
Screenshots or Videos
No response
UI5 Web Components for React Version
2.4.0
UI5 Web Components Version
2.4.0
Browser
Chrome
Operating System
No response
Additional Context
No response
Relevant log output
No response
Organization
No response
Declaration
- [X] I’m not disclosing any internal or sensitive information.
Hi @tandan0813
Thanks for reporting! I'll forward this issue to our UI5 Web Components Colleagues as the affected component is developed in their repository.
Regarding the size, please see this section of the component's description:
You can change the size of the Rating Indicator by changing its font-size CSS property.
Hello @SAP/ui5-webcomponents-topic-rl, The mentioned issue with the half-empty star is reproducible in the playground . Could you please take a look? Regards, Todor
Hello @tandan0813 ,
The first issue will be considered as a feature request. The second issue is fixed with the fix linked to this PR.
@hristop as discussed internally we need to provide a part for the icons in order for the apps to change the size of the icons.
Kind Regards, Elena
:tada: This issue has been resolved in version v2.5.0-rc.3 :tada:
The release is available on v2.5.0-rc.3
Your semantic-release bot :package::rocket:
:tada: This issue has been resolved in version v2.6.0-rc.3 :tada:
The release is available on v2.6.0-rc.3
Your semantic-release bot :package::rocket: