cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Alignment issue Label and input field

Former Member
0 Likes
871

Hi,

I have IconTabs and displayed fragment in every IconTabBar. But label alignment is at top with respective to input field.

Below is code written but still Label is aligned at top. I want it to be in center and left aligned.

Regards,

Jain.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Likes

Issue is resolved by adding these classes in Label tag.

<Label xmlns="sap.m" text="{i18n>empl_before}"

  class="sapUiSmallMarginTop sapUiSmallMarginBottom" />

Regards,

S.Jain

Answers (1)

Answers (1)

Tula
Product and Topic Expert
Product and Topic Expert
0 Likes

Hi Jain,

I had the same issue and it is quite easy to get over it - Just set the "editable" attribute of SimpleForm as true.

Here is reference from sapui5 explored.

Regards,

La

Former Member
0 Likes

Hi La,

I have already done so in my code as highlighted but it is not working may form is displayed in IconTab. Could you please suggest something else?

Regards,

Jain

Tula
Product and Topic Expert
Product and Topic Expert
0 Likes

Sorry Jain, then I don't know why it still looks like that.

Regards,

La