Skip to content

What is the best choice for a responsive layout? #25346

Answered by sjordanGSS
stewartsims asked this question in Q&A
Discussion options

You must be logged in to vote
<FlexLayout Wrap="Wrap">
    <VerticalStackLayout>
        <Label />
        <Field />
    </VerticalStackLayout>
    <VerticalStackLayout>
        <Label />
        <Field />
    </VerticalStackLayout>
</FlexLayout>

Something like this? I'm not sure what your Field view is or how it is layed out.
You could also set FlexLayout.Basis, FlexLayout.Shrink and FlexLayout.Grow on the VerticalStackLayouts to change how they'll get sized
The documentation is well worth a read.

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@stewartsims
Comment options

@sjordanGSS
Comment options

Answer selected by stewartsims
@stewartsims
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants