Small UI tweaks && bug fixes.

This commit is contained in:
Black Hat
2018-07-20 12:14:02 +08:00
parent 80fca26092
commit 6f6a7da414
11 changed files with 65 additions and 47 deletions

View File

@@ -26,13 +26,8 @@ Page {
id: roomListForm
Layout.fillHeight: true
Layout.preferredWidth: {
if (page.width > 560) {
return page.width * 0.4;
} else {
return 80;
}
}
Layout.preferredWidth: settingPage.miniMode ? 80 : page.width * 0.4
Layout.minimumWidth: 80
Layout.maximumWidth: 360
listModel: roomListModel