Changeset View
Changeset View
Standalone View
Standalone View
src/qml/NavigationActionBar.qml
Show First 20 Lines • Show All 275 Lines • ▼ Show 20 Line(s) | 250 | RowLayout { | |||
---|---|---|---|---|---|
276 | } | 276 | } | ||
277 | 277 | | |||
278 | TextField { | 278 | TextField { | ||
279 | id: filterTextInput | 279 | id: filterTextInput | ||
280 | objectName: 'filterTextInput' | 280 | objectName: 'filterTextInput' | ||
281 | 281 | | |||
282 | horizontalAlignment: TextInput.AlignLeft | 282 | horizontalAlignment: TextInput.AlignLeft | ||
283 | 283 | | |||
284 | Accessible.role: Accessible.EditableText | ||||
285 | | ||||
284 | placeholderText: i18nc("Placeholder text in the filter text box", "Album name, artist, etc.") | 286 | placeholderText: i18nc("Placeholder text in the filter text box", "Album name, artist, etc.") | ||
285 | 287 | | |||
286 | Layout.bottomMargin: 0 | 288 | Layout.bottomMargin: 0 | ||
287 | Layout.fillWidth: true | 289 | Layout.fillWidth: true | ||
288 | Layout.minimumWidth: (placeHolderTextWidth.boundingRect.width - placeHolderTextWidth.boundingRect.x) * 1.2 | 290 | Layout.minimumWidth: (placeHolderTextWidth.boundingRect.width - placeHolderTextWidth.boundingRect.x) * 1.2 | ||
289 | implicitWidth: (placeHolderTextWidth.boundingRect.width - placeHolderTextWidth.boundingRect.x) * 1.2 | 291 | implicitWidth: (placeHolderTextWidth.boundingRect.width - placeHolderTextWidth.boundingRect.x) * 1.2 | ||
290 | 292 | | |||
291 | TextMetrics { | 293 | TextMetrics { | ||
▲ Show 20 Lines • Show All 122 Lines • Show Last 20 Lines |