Better default size for ApplicationWindow
This commit is contained in:
parent
33743baa12
commit
6664fc29e3
|
@ -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"
|
||||
)
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user