mirror of
https://github.com/monero-project/monero-gui.git
synced 2026-04-09 11:57:25 -04:00
This commit is contained in:
63
main.qml
63
main.qml
@@ -261,6 +261,69 @@ ApplicationWindow {
|
||||
}
|
||||
}
|
||||
|
||||
property int maxWidth: leftPanel.width + 655 + rightPanel.width
|
||||
|
||||
// MouseArea {
|
||||
// anchors.top: parent.top
|
||||
// anchors.bottom: parent.bottom
|
||||
// anchors.right: parent.right
|
||||
// anchors.topMargin: 30
|
||||
// anchors.bottomMargin: 3
|
||||
// cursorShape: Qt.SizeHorCursor
|
||||
// width: 3
|
||||
// property int previousX: 0
|
||||
// onPressed: previousX = mouseX
|
||||
// onPositionChanged: {
|
||||
// var diff = previousX - mouseX
|
||||
// if(middlePanel.width - diff > 655)
|
||||
// appWindow.width -= diff
|
||||
// else appWindow.width = parent.maxWidth
|
||||
// }
|
||||
// }
|
||||
|
||||
// MouseArea {
|
||||
// anchors.left: parent.left
|
||||
// anchors.top: parent.top
|
||||
// anchors.bottom: parent.bottom
|
||||
// anchors.topMargin: 30
|
||||
// anchors.bottomMargin: 3
|
||||
// cursorShape: Qt.SizeHorCursor
|
||||
// width: 3
|
||||
// property int previousX: 0
|
||||
// property int maximumX: 0
|
||||
// onPressed: {
|
||||
// var diff = appWindow.width - parent.maxWidth
|
||||
// maximumX = appWindow.x + diff
|
||||
// previousX = mouseX
|
||||
// }
|
||||
// onPositionChanged: {
|
||||
// var diff = previousX - mouseX
|
||||
// if(appWindow.x + diff < maximumX) {
|
||||
// appWindow.width += diff
|
||||
// appWindow.x -= diff
|
||||
// } else {
|
||||
// appWindow.width = parent.maxWidth
|
||||
// appWindow.x = maximumX
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
|
||||
// MouseArea {
|
||||
// anchors.left: parent.left
|
||||
// anchors.right: parent.right
|
||||
// anchors.bottom: parent.bottom
|
||||
// anchors.leftMargin: 3
|
||||
// anchors.rightMargin: 3
|
||||
// height: 3
|
||||
// cursorShape: Qt.SizeVerCursor
|
||||
// property int previousY: 0
|
||||
// onPressed: previousY = mouseY
|
||||
// onPositionChanged: {
|
||||
// var diff = previousY - mouseY
|
||||
// appWindow.height -= diff
|
||||
// }
|
||||
// }
|
||||
|
||||
TitleBar {
|
||||
id: titleBar
|
||||
anchors.left: parent.left
|
||||
|
||||
Reference in New Issue
Block a user