Skip to Content
0
May 28, 2018 at 04:02 PM

Label's on the Right side of a sap.m.Switch

750 Views

Hello.

I'm trying to create a configuration app, with only Switch components, like this :

(Here I use it inside a Form)

The problem is that I want the labels to be on the other side, after the Switch.

But I can't find a proper way to archive this.

Tried with HBox / VBox , FlexBox...but when I have the label on the other side, it displays bad:

Is there a way to see it correctly in the middle? Without the use of custom CSS?

SAP used Swtich compones on this way on the user settings page, on the notification settings:

Thx in advance.

Attachments

captura.png (9.6 kB)
captura.png (3.8 kB)
captura.png (6.1 kB)