Skip to content

Commit

Permalink
MacOS fix long settings values cut off [CPP-694] (#484)
Browse files Browse the repository at this point in the history
  • Loading branch information
joelynch authored Mar 29, 2022
1 parent 3d63c8c commit eae383a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions resources/SettingsTabComponents/SettingsPane.qml
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ Rectangle {

PropertyChanges {
target: valOnDevice
Layout.preferredHeight: isLongTextField(_fieldName) ? 4 * parent.smallRowHeight : 3 * parent.smallRowHeight
Layout.preferredHeight: isLongTextField(_fieldName) ? 5 * parent.smallRowHeight : 3 * parent.smallRowHeight
}

},
Expand Down Expand Up @@ -198,7 +198,7 @@ Rectangle {
Layout.rowSpan: 2
Layout.columnSpan: 1
Layout.preferredWidth: parent.colWidthLabel
Layout.preferredHeight: isLongTextField(_fieldName) ? 3 * parent.smallRowHeight : parent.smallRowHeight
Layout.preferredHeight: isLongTextField(_fieldName) ? 4 * parent.smallRowHeight : parent.smallRowHeight
sourceComponent: settingRowLabel
}

Expand All @@ -209,7 +209,7 @@ Rectangle {
Layout.rowSpan: 2
Layout.columnSpan: parent.columns - 1
Layout.preferredWidth: parent.colWidthField
Layout.preferredHeight: isLongTextField(_fieldName) ? 3 * parent.smallRowHeight : parent.smallRowHeight
Layout.preferredHeight: isLongTextField(_fieldName) ? 4 * parent.smallRowHeight : parent.smallRowHeight
}

Loader {
Expand Down

0 comments on commit eae383a

Please sign in to comment.