summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--util/qt3d/modeltweak/qml/ButtonBarPane.qml2
-rw-r--r--util/qt3d/modeltweak/qml/ModelTweak.qml12
2 files changed, 9 insertions, 5 deletions
diff --git a/util/qt3d/modeltweak/qml/ButtonBarPane.qml b/util/qt3d/modeltweak/qml/ButtonBarPane.qml
index ca792ca9..582ca304 100644
--- a/util/qt3d/modeltweak/qml/ButtonBarPane.qml
+++ b/util/qt3d/modeltweak/qml/ButtonBarPane.qml
@@ -3,7 +3,7 @@ import Qt3D 1.0
import ModelTweak 1.0
Flow {
- width: buttonWidth * 2 + 8
+ width: buttonWidth * 4 + spacing * 3
spacing: 8
property double buttonWidth: 80
diff --git a/util/qt3d/modeltweak/qml/ModelTweak.qml b/util/qt3d/modeltweak/qml/ModelTweak.qml
index 61340b34..9acd5239 100644
--- a/util/qt3d/modeltweak/qml/ModelTweak.qml
+++ b/util/qt3d/modeltweak/qml/ModelTweak.qml
@@ -236,10 +236,14 @@ Rectangle {
}
- ButtonBarPane {
- anchors {
- top: modelPropertiesPane.top;
- left: modelPropertiesPane.right; leftMargin: 16
+ Item {
+ width: parent.width / 2
+ anchors.bottom: meshName.top
+ anchors.bottomMargin: 8
+ height: buttonBarPane.height
+ ButtonBarPane {
+ id: buttonBarPane
+ anchors.centerIn: parent
}
}