可能响应sap.m.dialog页脚三个按钮

时间:2017-11-03 07:39:01

标签: responsive-design sapui5

我正在使用sap.m.Dialog并且还想使用三个按钮。为此,我使用按钮聚合。 在这种情况下,问题是它在手机上没有响应。我该怎么做才能解决这个问题。

以下是问题的图片

Screenshot 1 Screenshot 2

对话代码

<core:FragmentDefinition
    xmlns="sap.m"
    xmlns:l="sap.ui.layout"
    xmlns:f="sap.ui.layout.form"
    xmlns:core="sap.ui.core">

    <Dialog title="{i18n>ARACBILGILERIEKLE}" draggable="true" stretch="{device>/isPhone}" verticalScrolling="true">
        <f:SimpleForm id="AracBilgileriSimpleForm"
            editable="false"
            layout="ResponsiveGridLayout"
            labelSpanXL="3"
            labelSpanL="3"
            labelSpanM="3"
            labelSpanS="12"
            adjustLabelSpan="false"
            emptySpanXL="4"
            emptySpanL="4"
            emptySpanM="4"
            emptySpanS="0"
            columnsXL="2"
            columnsL="1"
            columnsM="1"
            singleContainerFullSize="false" >
            <f:content>
                <Label text="{i18n>AKTIFARAC}" />
                <CheckBox id="aktifAracCheckBoxID" select="onChangeAktifArac"/>

                <Label text="{i18n>ARACTIPI}"/>
               <Input   id="aracModeliInputID"
                        value="{aracBilgileri>/AracTipi}"
                        showValueHelp="true"
                        valueHelpOnly="true"
                        valueHelpRequest="onGetValueHelpMarkaModel"/>

                <Label text="{i18n>MODELYILI}" />
                <ComboBox
                    id="modelYiliComboID"
                    items="{ path:'/CustomizingYilSet' }"
                    selectedKey="{aracBilgileri>/ModelYili}"
                    change="onChangeModelYili">
                    <core:Item key="{Key}" text="{Value}" />
                </ComboBox>

                <Label text="{i18n>SASINO}"/>
                <Input  id="sasiNoID" maxLength="30" value="{aracBilgileri>/SasiNo}"/>

                <Label text="{i18n>SATISTARIHI}"/>
                <DatePicker
                    id="satisTarihiID"
                    value="{path:'aracBilgileri>/SatisTarihi', type:'sap.ui.model.type.Date', formatOptions: { style: 'medium', strictParsing: true}}"
                    class="sapUiSmallMarginBottom"/>

            </f:content>
        </f:SimpleForm>

        <buttons width="auto" class="sapUiNoMarginBegin
      sapUiNoMarginEnd">
            <Button id="updateButtonID" type="Emphasized"   icon="sap-icon://save" press="onUpdateAracBilgileri" />
            <Button id="createButtonID" type="Emphasized"  icon="sap-icon://add" press="onCreateAracBilgileri" />
            <Button icon="sap-icon://decline" press="aracBilgileriCancel" />
        </buttons>

    </Dialog>



</core:FragmentDefinition>

0 个答案:

没有答案