From 855d5736c509363dd47e091210f2f3fe64ad9117 Mon Sep 17 00:00:00 2001 From: marcin Date: Wed, 16 Jul 2014 10:52:00 +0200 Subject: [PATCH] rightpanel hide/show fix --- LeftPanel.qml | 2 +- bitmonero.pro.user | 2 +- main.qml | 1 + 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/LeftPanel.qml b/LeftPanel.qml index 09438de1..10037ffc 100644 --- a/LeftPanel.qml +++ b/LeftPanel.qml @@ -42,7 +42,7 @@ Rectangle { anchors.right: logo.left anchors.verticalCenter: logo.verticalCenter anchors.verticalCenterOffset: 5 - anchors.rightMargin: 10 + anchors.rightMargin: 20 source: appWindow.rightPanelExpanded ? "images/expandRightPanel.png" : "images/collapseRightPanel.png" } diff --git a/bitmonero.pro.user b/bitmonero.pro.user index 297eefb7..6b4a1b04 100644 --- a/bitmonero.pro.user +++ b/bitmonero.pro.user @@ -1,6 +1,6 @@ - + ProjectExplorer.Project.ActiveTarget diff --git a/main.qml b/main.qml index 3fa67ac1..e485dde7 100644 --- a/main.qml +++ b/main.qml @@ -87,6 +87,7 @@ ApplicationWindow { x: (Screen.width - width) / 2 y: (Screen.height - height) / 2 flags: Qt.FramelessWindowHint | Qt.WindowSystemMenuHint | Qt.Window | Qt.WindowMinimizeButtonHint + onWidthChanged: if(width < 1269) x -= 0 Item { id: rootItem