Commit de9c7409 authored by Nicolas Fella's avatar Nicolas Fella
Browse files

[*cloud] Make config window's minimum size a bit smaller

The current minimum width is 432, which is larger than the effective width of the PinePhone screen (360).

Reduce the minimum width to fit there. If available use the old size though.
parent 35117ddd
......@@ -15,10 +15,10 @@ import org.kde.kaccounts.nextcloud 1.0
Kirigami.ApplicationWindow {
id: ncAccountRoot
// Minimum size at which the web login UI looks good
minimumWidth: Kirigami.Units.gridUnit * 24
// Minimum size at which the web login UI looks okay
minimumWidth: Kirigami.Units.gridUnit * 20 // matches the width of the PinePhone
minimumHeight: Kirigami.Units.gridUnit * 35
width: minimumWidth
width: Kirigami.Units.gridUnit * 24 // making it a bit larger if available to make it more pleasant
height: minimumHeight
pageStack.initialPage: Qt.resolvedUrl("Server.qml");
......
......@@ -16,10 +16,10 @@ import org.kde.kaccounts.owncloud 1.0
Kirigami.ApplicationWindow {
id: ocAccountRoot
// Minimum size at which the web login UI looks good
minimumWidth: Kirigami.Units.gridUnit * 24
// Minimum size at which the UI looks okay
minimumWidth: Kirigami.Units.gridUnit * 20 // matches the width of the PinePhone
minimumHeight: Kirigami.Units.gridUnit * 35
width: minimumWidth
width: Kirigami.Units.gridUnit * 24 // making it a bit larger if available to make it more pleasant
height: minimumHeight
pageStack.initialPage: Qt.resolvedUrl("Server.qml");
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment