Skip to content

Commit

Permalink
Using RowLayout for simplicity.
Browse files Browse the repository at this point in the history
  • Loading branch information
andeplane committed Jul 29, 2017
1 parent 93154f5 commit 01db6eb
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/qml/desktop/RightBar/SliceControl.qml
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand All @@ -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)
Expand All @@ -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)
Expand Down

0 comments on commit 01db6eb

Please sign in to comment.