cancel
Showing results for 
Search instead for 
Did you mean: 

SAPUI5 application - Zoom to 150% for a particular user

Ragavie
Participant
0 Kudos

Hi All,

Can you help me how to Zoom the UI5 application to 150% for a particular user

Regards,

Ragavie

boghyon
Product and Topic Expert
Product and Topic Expert
0 Kudos

There is no cross-platform standard Web API to control the scale factor. What's the use case? Why can't the user zoom by themselves via the UI, keyboard-shortcuts, or gestures from the browser?

Accepted Solutions (0)

Answers (1)

Answers (1)

0 Kudos

CSS zoom property should do the trick.

(In the xml)
Page class="zoomContainer"

(In the CSS)
.zoomContainer {
zoom: 150%;
}

Note that this can make some UI5 controls behave strangely. (ie. dropdowns not opening in the correct place..)