Skip to Content
avatar image
Former Member

button wrap text with Design studio

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Jun 26, 2017 at 02:41 PM

    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

    Add comment
    10|10000 characters needed characters exceeded