Changeset View
Changeset View
Standalone View
Standalone View
applets/digital-clock/package/contents/ui/configTimeZones.qml
Show First 20 Lines • Show All 62 Lines • ▼ Show 20 Line(s) | 30 | ColumnLayout { | |||
---|---|---|---|---|---|
63 | Item { | 63 | Item { | ||
64 | Layout.fillWidth: true | 64 | Layout.fillWidth: true | ||
65 | Layout.fillHeight: true | 65 | Layout.fillHeight: true | ||
66 | 66 | | |||
67 | QQC2.ScrollView { | 67 | QQC2.ScrollView { | ||
68 | anchors.fill: parent | 68 | anchors.fill: parent | ||
69 | clip: true | 69 | clip: true | ||
70 | Component.onCompleted: background.visible = true // enable border | 70 | Component.onCompleted: background.visible = true // enable border | ||
71 | QQC2.ScrollBar.horizontal.policy: QQC2.ScrollBar.AlwaysOff // have to hardcode this because of QTBUG-83890 | ||||
71 | 72 | | |||
72 | ListView { | 73 | ListView { | ||
73 | id: listView | 74 | id: listView | ||
74 | focus: true // keyboard navigation | 75 | focus: true // keyboard navigation | ||
75 | activeFocusOnTab: true // keyboard navigation | 76 | activeFocusOnTab: true // keyboard navigation | ||
76 | 77 | | |||
77 | model: TimeZoneFilterProxy { | 78 | model: TimeZoneFilterProxy { | ||
78 | sourceModel: timeZones | 79 | sourceModel: timeZones | ||
Show All 29 Lines |