paysages3d/src/interface/modeler/quickapp/qml/Toolbar.qml

22 lines
428 B
QML

import QtQuick 2.0
Rectangle {
default property alias children : inner_space.children
width: 70
height: parent.height
color: "#50000000"
Column {
id: inner_space
spacing: (parent.height - children.length * tool_terrain.height) / (children.length + 1)
anchors.centerIn: parent
}
Behavior on opacity {
PropertyAnimation {
duration: 200
}
}
}