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() onCurrentItemChanged: currentItem.forceActiveFocus()
initialItem: Item { // TODO: (test, remove) initialItem: Item { // TODO: (test, remove)
Keys.onPressed: pageStack.showRoom( Keys.onEnterPressed: pageStack.showRoom(
"@test_mary:matrix.org", "!TSXGsbBbdwsdylIOJZ:matrix.org" "@test_mary:matrix.org", "!TSXGsbBbdwsdylIOJZ:matrix.org"
//"@test_mary:matrix.org", "!TEXkdeErtVCMqClNfb:matrix.org" //"@test_mary:matrix.org", "!TEXkdeErtVCMqClNfb:matrix.org"
) )

View File

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