Changeset View
Changeset View
Standalone View
Standalone View
applets/systemtray/package/contents/ui/ConfigEntries.qml
Show First 20 Lines • Show All 62 Lines • ▼ Show 20 Line(s) | 60 | QQC2.ScrollView { | |||
---|---|---|---|---|---|
63 | Layout.fillWidth: true | 63 | Layout.fillWidth: true | ||
64 | Layout.fillHeight: true | 64 | Layout.fillHeight: true | ||
65 | contentHeight: itemsList.implicitHeight | 65 | contentHeight: itemsList.implicitHeight | ||
66 | 66 | | |||
67 | Component.onCompleted: scrollView.background.visible = true | 67 | Component.onCompleted: scrollView.background.visible = true | ||
68 | 68 | | |||
69 | property bool scrollBarVisible: QQC2.ScrollBar.vertical && QQC2.ScrollBar.vertical.visible | 69 | property bool scrollBarVisible: QQC2.ScrollBar.vertical && QQC2.ScrollBar.vertical.visible | ||
70 | property var scrollBarWidth: scrollBarVisible ? QQC2.ScrollBar.vertical.width : 0 | 70 | property var scrollBarWidth: scrollBarVisible ? QQC2.ScrollBar.vertical.width : 0 | ||
71 | QQC2.ScrollBar.horizontal.policy: QQC2.ScrollBar.AlwaysOff // have to hardcode this because of QTBUG-83890 | ||||
71 | 72 | | |||
72 | ListView { | 73 | ListView { | ||
73 | id: itemsList | 74 | id: itemsList | ||
74 | 75 | | |||
75 | property var visibilityColumnWidth: units.gridUnit | 76 | property var visibilityColumnWidth: units.gridUnit | ||
76 | property var keySequenceColumnWidth: units.gridUnit | 77 | property var keySequenceColumnWidth: units.gridUnit | ||
77 | 78 | | |||
78 | clip: true | 79 | clip: true | ||
▲ Show 20 Lines • Show All 210 Lines • Show Last 20 Lines |