Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 3570

Re: sap.m.multicombox not responsive on smaller screens

$
0
0

Hi Naren ,

 

Thanks for your reply. Actually the reason i have hardcoded the width is if I comment that and give maxwidth as 100% , i get the output as below where the vendor field is not having any width.

 

Yes with Grid Responsive i may get the output but I wanted to avoid that since it uses Form Layout as its content and in my case its relatively a simple layout hence I opted for Horizontal and verticalLayout. As per my understanding , any layout that is outside sap.ui,commons librabry are responsive , and since sap.ui.layout.HorizontalLayout is outside the sap commons class , I expected it to work *** responsive. Hence I wanted to know if this is achievable with horizontal layout and if horizontal layout behaves as non-responsive layout. If this is really not possible , then I have no option but to go with the other Responsive Layout as you suggested.

 

Thanks

 

var oHorz_Layout2 = new sap.ui.layout.HorizontalLayout({content:[new sap.m.Label({text:"Vendor",                                                                                     width:"120px"                                                                                   }).addStyleClass("comboLabel"),                                                                         new sap.m.MultiComboBox("Combo_Vend",                                                                                        {//width:"350px",                                                                                             maxWidth:"100%"}                                                                                       )                                                                       ]});

resp3.JPG


Viewing all articles
Browse latest Browse all 3570

Trending Articles