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