Alignment issue for label and combobox
I have a multiselect combobox from sap.m library. I have a label besides the combobox which is not coming in the same alignment(verticially) as the combobox. I am using Horizontal Layout here since I want all elements to be displayed rowwise. Please find the attached screenshot to see the problem faced.
Sai Vellanki replied
You got to use custom style class for your labels using .addStyleClass method.
Add it your label like this: sap.m.Label().addStyleClass("comboLabel"), if you are using JS view.