Skip to content

Commit

Permalink
Pie: Correcte x position buttons
Browse files Browse the repository at this point in the history
Signed-off-by: Patrick José Pereira <[email protected]>
  • Loading branch information
patrickelectric committed Sep 17, 2017
1 parent 4c2313a commit dcb84a2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Pie.qml
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@ Item {
}

Button {
x: pieMenu.width - width
x: pieMenu.x + pieMenu.width - width
y: pieMenu.y
width: (pieMenu.width - pieMenu.width/Math.sqrt(2))/2
height: width
Expand All @@ -269,7 +269,7 @@ Item {
}

Button {
x: pieMenu.width - width
x: pieMenu.x + pieMenu.width - width
y: pieMenu.y + pieMenu.height - height
width: (pieMenu.width - pieMenu.width/Math.sqrt(2))/2
height: width
Expand Down

0 comments on commit dcb84a2

Please sign in to comment.