rightpanel hide/show fix

pull/2/head
marcin 10 years ago
parent ca7472c79a
commit 855d5736c5

@ -42,7 +42,7 @@ Rectangle {
anchors.right: logo.left anchors.right: logo.left
anchors.verticalCenter: logo.verticalCenter anchors.verticalCenter: logo.verticalCenter
anchors.verticalCenterOffset: 5 anchors.verticalCenterOffset: 5
anchors.rightMargin: 10 anchors.rightMargin: 20
source: appWindow.rightPanelExpanded ? "images/expandRightPanel.png" : source: appWindow.rightPanelExpanded ? "images/expandRightPanel.png" :
"images/collapseRightPanel.png" "images/collapseRightPanel.png"
} }

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE QtCreatorProject> <!DOCTYPE QtCreatorProject>
<!-- Written by QtCreator 3.1.2, 2014-07-15T16:02:00. --> <!-- Written by QtCreator 3.1.2, 2014-07-16T10:51:34. -->
<qtcreator> <qtcreator>
<data> <data>
<variable>ProjectExplorer.Project.ActiveTarget</variable> <variable>ProjectExplorer.Project.ActiveTarget</variable>

@ -87,6 +87,7 @@ ApplicationWindow {
x: (Screen.width - width) / 2 x: (Screen.width - width) / 2
y: (Screen.height - height) / 2 y: (Screen.height - height) / 2
flags: Qt.FramelessWindowHint | Qt.WindowSystemMenuHint | Qt.Window | Qt.WindowMinimizeButtonHint flags: Qt.FramelessWindowHint | Qt.WindowSystemMenuHint | Qt.Window | Qt.WindowMinimizeButtonHint
onWidthChanged: if(width < 1269) x -= 0
Item { Item {
id: rootItem id: rootItem