1
Fork 0
mirror of https://github.com/redstrate/Astra.git synced 2025-04-22 12:47:44 +00:00

Fix news page being some weird variable width when loading

This commit is contained in:
Joshua Goins 2023-08-18 21:36:06 -04:00
parent 030fa5fe43
commit a5682efa3c

View file

@ -74,8 +74,8 @@ Kirigami.Page {
id: loginPage
Layout.alignment: Qt.AlignTop | Qt.AlignHCenter
Layout.minimumWidth: LauncherCore.showNews ? Kirigami.Units.gridUnit * 25 : undefined
Layout.fillWidth: true
Layout.minimumWidth: LauncherCore.showNews ? Kirigami.Units.gridUnit * 25 : 0
Layout.fillWidth: !LauncherCore.showNews
}
}
}