on 03-26-2014 6:45 AM
Hi Experts,
My application is defined to be Right to left (in the index.html):
<script src="/sap/ui5/1/resources/sap-ui-core.js"
id="sap-ui-bootstrap"
data-sap-ui-libs="sap.m,sap.makit,sap.viz,sap.ui.commons"
data-sap-ui-rtl="true"
data-sap-ui-theme="sap_bluecrystal">
</script>
Several sap.m control have unexpected behavior, e.g. DateTimeInput - the column of hour and the column of minutes are switched.
I solved the previous problem using css, but I have a problem with Tile container, both of the navigation arrows are placed in the same side of the tile container.
Can anyone suggest how to solve this issue?
If determining a specific direction for a specific control is possible, I think this would be the best solution (because I don't need this control to have RTL properties) .
Thanks,
Ran
Hi Ran,
It works fine in the below link
http://jsbin.com/afif/370/edit
Could be some other issue.
The core method get RTL could be obtained by
sap.ui.getCore().getConfiguration().getRTL()
Thansk and Regards, Venkatesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Venktash,
Thank you very much for your prompt reply.
I can see that the example you provided is working, I guess the difference is the UI5 version, you are using 1.18.8 and I'm using 1.16.4 (SP7).
If I understood correctly the usage of sap.ui.getCore().getConfiguration().getRTL(), it is used for obtaining the direction of the application, can it be used to set a specific control's direction?
Ran
User | Count |
---|---|
85 | |
10 | |
9 | |
9 | |
6 | |
6 | |
6 | |
5 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.