on xenial help sign in
increase threshold for narrowmode decision
90f260fMichael Zanetti
Dash/DashPreview.qml+1−1
@@ -31,7 +31,7 @@ Rectangle {
31 property Component description
31 property Component description
32 property Component ratings
32 property Component ratings
33
33
34− readonly property bool narrowMode: width <= height
34+ readonly property bool narrowMode: width <= height * 1.5
35 readonly property int columnWidth: narrowMode ? contentRow.width : (contentRow.width / 3) - contentRow.spacing
35 readonly property int columnWidth: narrowMode ? contentRow.width : (contentRow.width / 3) - contentRow.spacing
36 readonly property int contentSpacing: units.gu(3)
36 readonly property int contentSpacing: units.gu(3)
37
37