Tweak room drawer.

This commit is contained in:
Black Hat
2019-04-21 21:21:48 +08:00
parent da155e07ca
commit 75152a98a3
2 changed files with 118 additions and 74 deletions

View File

@@ -493,7 +493,7 @@ ApplicationWindow {
position: inPortrait ? 0 : 1
visible: !inPortrait
id: drawer
id: roomListDrawer
RoomListPanel {
anchors.fill: parent
@@ -510,7 +510,7 @@ ApplicationWindow {
RoomPanel {
anchors.fill: parent
anchors.leftMargin: !inPortrait ? drawer.width : undefined
anchors.leftMargin: !inPortrait ? roomListDrawer.width : undefined
anchors.rightMargin: !inPortrait && roomDrawer.visible ? roomDrawer.width : undefined
id: roomForm