qmlFrontend/qml/qmlFrontend/Lobby.qml
branchqmlfrontend
changeset 11454 3c5d99013baf
parent 11434 23912c93935a
--- a/qmlFrontend/qml/qmlFrontend/Lobby.qml	Sat Dec 12 23:42:40 2015 +0300
+++ b/qmlFrontend/qml/qmlFrontend/Lobby.qml	Mon Dec 14 00:24:03 2015 +0300
@@ -4,10 +4,10 @@
 Rectangle {
     ListView {
         id: roomsList
-        x: 20
-        y: 0
-        width: parent.width
-        height: parent.height - x
+        anchors.top: parent.top
+        anchors.left: parent.left
+        anchors.right: parent.right
+        anchors.bottom: lobbyChat.top
         focus: true
         clip: true
 
@@ -93,10 +93,11 @@
 
     Chat {
         id: lobbyChat;
-        x: 0;
-        y: 300;
-        width: parent.width;
-        height: parent.height - y;
+        height: 300
+        anchors.top: undefined
+        anchors.left: parent.left
+        anchors.right: parent.right
+        anchors.bottom: parent.bottom
 
         Connections {
             target: HWEngine