From 01db6ebc4c089d8df683e581c6e73d7dc406bfc0 Mon Sep 17 00:00:00 2001 From: Anders Hafreager Date: Sat, 29 Jul 2017 09:15:57 -0600 Subject: [PATCH] Using RowLayout for simplicity. --- src/qml/desktop/RightBar/SliceControl.qml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/qml/desktop/RightBar/SliceControl.qml b/src/qml/desktop/RightBar/SliceControl.qml index 6d3f1c9f..d87a267f 100644 --- a/src/qml/desktop/RightBar/SliceControl.qml +++ b/src/qml/desktop/RightBar/SliceControl.qml @@ -38,12 +38,12 @@ GroupBox { text: "Normal: " } - Row { + RowLayout { width: parent.width spacing: 5 ScrollableNumberField { value: slice.normal.x - width: (columnLayout.width-10)/3 + Layout.fillWidth: true onValueChanged: { var x = parseFloat(value) var y = parseFloat(slice.normal.y) @@ -58,7 +58,7 @@ GroupBox { ScrollableNumberField { value: slice.normal.y - width: (columnLayout.width-10)/3 + Layout.fillWidth: true onValueChanged: { var x = parseFloat(slice.normal.x) var y = parseFloat(value) @@ -69,7 +69,7 @@ GroupBox { ScrollableNumberField { value: slice.normal.z - width: (columnLayout.width-10)/3 + Layout.fillWidth: true onValueChanged: { var x = parseFloat(slice.normal.x) var y = parseFloat(slice.normal.y)