Flow, how to align contents to bottom [answered]
I implemented a DockedPanel component, and want to use IconButton and Switch -components there, but i have issues getting them aligned them by bottom edge.
This is the result i'm seeking for:
However, the code below looks like this:
And if i try to anchor them, i get following error:
QML Flow: Cannot specify anchors for items inside Flow. Flow will not function.
DockedPanel
{
width: parent.width
height: Theme.itemSizeExtraLarge + Theme.paddingLarge
dock: Dock.Top
Flow
{
anchors.centerIn: parent
IconButton
{
icon.source: "image://theme/icon-l-about"
}
Switch {
icon.source: "image://theme/icon-l-repeat"
}
Switch {
icon.source: "image://theme/icon-l-share"
}
}
}
Actually the same visual annoyance is seen on Settings shortcuts page...
kimmoli ( 2014-05-30 20:23:07 +0200 )edit