Member-only story

StackLayout in QML

Asit Dhal
1 min readAug 20, 2020

In StackLayout, items are kept on top of other. You can bring any item to the top by setting the index of layout.

StackLayout is mostly used with navigation tools like TabBar. All the child Items’ Layout.fillWidth and Layout.fillHeight properties default to true.

It’s a very simple layout mechanism. But StackView is usually chosen over StackLayout.

Create an account to read the full story.

The author made this story available to Medium members only.
If you’re new to Medium, create a new account to read this story on us.

Or, continue in mobile web

Already have an account? Sign in

Asit Dhal
Asit Dhal

No responses yet

Write a response