Skip to content

Commit

Permalink
fix height
Browse files Browse the repository at this point in the history
Signed-off-by: knopalex <[email protected]>
  • Loading branch information
alexknop committed Feb 3, 2025
1 parent c151888 commit 3a082e0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/gui/ResolveConflictsDialog.qml
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,9 @@ ApplicationWindow {
LayoutMirroring.childrenInherit: true

width: Style.minimumWidthResolveConflictsDialog
height: Style.minimumHeightResolveConflictsDialog
height: Math.min(contentItem.height + 20, Screen.height * 0.8)
minimumWidth: Style.minimumWidthResolveConflictsDialog
minimumHeight: Style.minimumHeightResolveConflictsDialog
minimumHeight: minimumHeightResolveConflictsDialog
title: qsTr('Solve sync conflicts')

onClosing: function(close) {
Expand Down
2 changes: 1 addition & 1 deletion theme/Style/Style.qml
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ QtObject {
readonly property int bigFontPixelSizeResolveConflictsDialog: 20
readonly property int fontPixelSizeResolveConflictsDialog: 15
readonly property int minimumWidthResolveConflictsDialog: 600
readonly property int minimumHeightResolveConflictsDialog: 800
readonly property int minimumHeightResolveConflictsDialog: 200

readonly property double smallIconScaleFactor: 0.6

Expand Down

0 comments on commit 3a082e0

Please sign in to comment.