rightpanel hide/show fix

This commit is contained in:
marcin 2014-07-16 10:52:00 +02:00
parent ca7472c79a
commit 855d5736c5
3 changed files with 3 additions and 2 deletions

View file

@ -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"
} }

View file

@ -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>

View file

@ -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