mirror of
https://github.com/monero-project/monero-gui.git
synced 2025-01-09 20:40:27 +00:00
rightpanel hide/show fix
This commit is contained in:
parent
ca7472c79a
commit
855d5736c5
3 changed files with 3 additions and 2 deletions
|
@ -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>
|
||||||
|
|
1
main.qml
1
main.qml
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue