dimanche 8 décembre 2019

How can we make checkboxes vertically center align in simple form?

SAPUI5 simple form does not make the checkboxes vertically center align.

simple form check box

Here is the code:

<form:SimpleForm title="{i18n>wizardDateLocation}" minWidth="1024" editable="false" layout="ResponsiveGridLayout">
    <form:content>
        <Label text="{i18n>wholeDay}"/>
        <CheckBox selected="{/IsAllDay}" editable="false"/>
        <Label text="{i18n>date}" visible="{= ${/IsAllDay}}" required="true"/>
        <Text text="{/Start}" visible="{= ${/IsAllDay}}"/>
        <HBox></HBox>
        <Label text="{i18n>from}" visible="{= !${/IsAllDay} }" required="true"/>
        <Text text="{/Start}" visible="{= !${/IsAllDay} }"/>
        <Label text="{i18n>to}" visible="{= !${/IsAllDay} }" required="true"/>
        <Text text="{/End}" visible="{= !${/IsAllDay} }"/>
        <Label text="{i18n>isOnlineMeeting}" required="false"/>
        <CheckBox selected="{/IsOnlineMeeting}" editable="false"/>
        <Label text="{i18n>location}" required="{= !${/IsOnlineMeeting} }"/>
        <Text text="{/LocationName}"/>
        <Label text="{i18n>weblink}" required="{/IsOnlineMeeting}"/>
        <Text text="{/WebLink}"/>
        <Link press="editStepTwo" text="{i18n>edit}"/>
    </form:content>
</form:SimpleForm>

How can I solve this issue?




Aucun commentaire:

Enregistrer un commentaire