[aurorae] Better specify y value of titleBar

It uses the borderBottom now to have at least an as large resize
border as at the bottom. This still needs improvement.
This commit is contained in:
Martin Gräßlin 2014-12-03 12:09:24 +01:00
parent 13dcafab42
commit c815775a0e

View file

@ -43,7 +43,7 @@ Decoration {
Item {
id: titleRect
x: decoration.client.maximized ? maximizedBorders.left : borders.left
y: 0
y: decoration.client.maximized ? 0 : root.borders.bottom
width: decoration.client.width//parent.width - x - (decoration.client.maximized ? maximizedBorders.right : borders.right)
height: decoration.client.maximized ? maximizedBorders.top : borders.top
Component.onCompleted: {