Changeset View
Changeset View
Standalone View
Standalone View
src/declarativeimports/plasmacomponents3/ComboBox.qml
Show First 20 Lines • Show All 104 Lines • ▼ Show 20 Line(s) | 97 | popup: T.Popup { | |||
---|---|---|---|---|---|
105 | contentItem: ListView { | 105 | contentItem: ListView { | ||
106 | id: listview | 106 | id: listview | ||
107 | clip: true | 107 | clip: true | ||
108 | implicitHeight: contentHeight | 108 | implicitHeight: contentHeight | ||
109 | model: control.popup.visible ? control.delegateModel : null | 109 | model: control.popup.visible ? control.delegateModel : null | ||
110 | currentIndex: control.highlightedIndex | 110 | currentIndex: control.highlightedIndex | ||
111 | highlightRangeMode: ListView.ApplyRange | 111 | highlightRangeMode: ListView.ApplyRange | ||
112 | highlightMoveDuration: 0 | 112 | highlightMoveDuration: 0 | ||
113 | LayoutMirroring.enabled: true | ||||
safaalfulaij: So it is true even for LTR locales? | |||||
yes, mvourlakos: yes,
in my system with these settings the combobox list items are aligned correctly for both… | |||||
114 | LayoutMirroring.childrenInherit: true | ||||
113 | T.ScrollBar.vertical: Controls.ScrollBar { } | 115 | T.ScrollBar.vertical: Controls.ScrollBar { } | ||
114 | } | 116 | } | ||
115 | background: Rectangle { | 117 | background: Rectangle { | ||
116 | anchors { | 118 | anchors { | ||
117 | fill: parent | 119 | fill: parent | ||
118 | margins: -1 | 120 | margins: -1 | ||
119 | } | 121 | } | ||
120 | radius: 2 | 122 | radius: 2 | ||
Show All 15 Lines |
So it is true even for LTR locales?