Better default size for ApplicationWindow

This commit is contained in:
miruka 2019-04-22 14:02:55 -04:00
parent 33743baa12
commit 6664fc29e3
2 changed files with 4 additions and 3 deletions

View File

@ -27,7 +27,7 @@ Controls1.SplitView {
onCurrentItemChanged: currentItem.forceActiveFocus()
initialItem: Item { // TODO: (test, remove)
Keys.onPressed: pageStack.showRoom(
Keys.onEnterPressed: pageStack.showRoom(
"@test_mary:matrix.org", "!TSXGsbBbdwsdylIOJZ:matrix.org"
//"@test_mary:matrix.org", "!TEXkdeErtVCMqClNfb:matrix.org"
)

View File

@ -1,10 +1,11 @@
import QtQuick 2.7
import QtQuick.Controls 2.2
import QtQuick.Window 2.7
ApplicationWindow {
visible: true
width: 640
height: 700
width: Math.min(Screen.width, 1152)
height: Math.min(Screen.height, 768)
Loader {
anchors.fill: parent