SAPUI5 - Vertikales layout Schwerkraft

ich habe mehrere Elemente auf dem Bildschirm in der xml-Datei

<core:View controllerName="myapp.view.login.login"
    xmlns="sap.m" xmlns:core="sap.ui.core"
    xmlns:l="sap.ui.layout">

    <l:VerticalLayout >
        <l:content>
            <Input 
                type="Text"
                maxLength="15"
                fieldWidth="15px"
                placeholder="name"
                textAlign="Center">
            </Input>

            <Input 
                type="Password"
                maxLength="15"
                fieldWidth="15px"
                placeholder="password"
                textAlign="Center">
            </Input>

            <Button 
                text="Log in"
                press="logIn">
            </Button>
        </l:content>

    </l:VerticalLayout>

</core:View>

wie kann ich so etwas wie layout Schwerkraft oder ausrichten, ich möchte diese Elemente in der Mitte des Bildschirms. Könnten Sie mir helfen mit, dass? Danke.

InformationsquelleAutor miskohut | 2015-04-15

Schreibe einen Kommentar