Skip to Content
0

button wrap text with Design studio

Jun 26, 2017 at 02:21 PM

175

avatar image
Former Member

I would like wrap the text into a button for an Iphone application. I tried

word-break:break-all;

also,

overflow-wrap: break-word!important;

word-wrap:break-word!important;

white-space:normal!important;

but the text isn't wrapped. I use SAP Design Studio 1.6 version 16.4.0

thank you for your help

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Tammy Powlas
Jun 26, 2017 at 02:41 PM
1

This works for me - borrowed it from https://archive.sap.com/discussions/message/15484389#15484389:

    word-break:break-all!important;


     height:25px!important;

But it may not work on the iPhone - you may need to look at a responsive rendering container - some are in extensions https://www.sapappcenter.com/, and planned for SAP Lumira 2.x

Share
10 |10000 characters needed characters left characters exceeded