This commit is contained in:
Marcus 2024-11-05 15:38:59 -06:00 committed by GitHub
commit 5514bb6cf7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -10,7 +10,11 @@ import im.nheko 1.0
import "../components/" import "../components/"
import ".." import ".."
ColumnLayout { ScrollView {
contentWidth: availableWidth
ColumnLayout {
width: parent.width
Item { Item {
Layout.fillHeight: true Layout.fillHeight: true
} }
@ -29,7 +33,7 @@ ColumnLayout {
Layout.fillWidth: true Layout.fillWidth: true
text: qsTr("Welcome to nheko! The desktop client for the Matrix protocol.") text: qsTr("Welcome to nheko! The desktop client for the Matrix protocol.")
color: palette.text color: palette.text
font.pointSize: fontMetrics.font.pointSize*2 font.pointSize: fontMetrics.font.pointSize * 2
wrapMode: Text.Wrap wrapMode: Text.Wrap
horizontalAlignment: Text.AlignHCenter horizontalAlignment: Text.AlignHCenter
} }
@ -39,7 +43,7 @@ ColumnLayout {
Layout.fillWidth: true Layout.fillWidth: true
text: qsTr("Enjoy your stay!") text: qsTr("Enjoy your stay!")
color: palette.text color: palette.text
font.pointSize: fontMetrics.font.pointSize*1.5 font.pointSize: fontMetrics.font.pointSize * 1.5
wrapMode: Text.Wrap wrapMode: Text.Wrap
horizontalAlignment: Text.AlignHCenter horizontalAlignment: Text.AlignHCenter
} }
@ -99,4 +103,5 @@ ColumnLayout {
Item { Item {
Layout.fillHeight: true Layout.fillHeight: true
} }
}
} }