define minimum sizes of conflict dialogs in Style component

Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
This commit is contained in:
Matthieu Gallien 2023-05-16 09:37:45 +02:00 committed by Matthieu Gallien
parent 635b1ec729
commit b285b89605
2 changed files with 6 additions and 4 deletions

View file

@ -30,10 +30,10 @@ QtWindow.Window {
flags: Qt.Window | Qt.Dialog
visible: true
width: 600
height: 800
minimumWidth: 600
minimumHeight: 800
width: Style.minimumWidthResolveConflictsDialog
height: Style.minimumHeightResolveConflictsDialog
minimumWidth: Style.minimumWidthResolveConflictsDialog
minimumHeight: Style.minimumHeightResolveConflictsDialog
title: qsTr('Solve sync conflicts')
onClosing: function(close) {

View file

@ -133,6 +133,8 @@ QtObject {
readonly property int bigFontPixelSizeResolveConflictsDialog: 20
readonly property int fontPixelSizeResolveConflictsDialog: 15
readonly property int minimumWidthResolveConflictsDialog: 600
readonly property int minimumHeightResolveConflictsDialog: 800
readonly property int activityContentSpace: 4