mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
mobile/UI: make filter entry / dives shown theme aware
Again, not using our text field / label (plus adding a subdued color for the placeholder text). Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
68a15b8cdf
commit
535a15e5fd
1 changed files with 3 additions and 2 deletions
|
@ -397,12 +397,13 @@ Kirigami.ScrollablePage {
|
||||||
manager.setFilter(sitefilter.text, currentIndex)
|
manager.setFilter(sitefilter.text, currentIndex)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Controls.TextField {
|
TemplateTextField {
|
||||||
id: sitefilter
|
id: sitefilter
|
||||||
verticalAlignment: TextInput.AlignVCenter
|
verticalAlignment: TextInput.AlignVCenter
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
text: ""
|
text: ""
|
||||||
placeholderText: sitefilterMode.currentText
|
placeholderText: sitefilterMode.currentText
|
||||||
|
placeholderTextColor: subsurfaceTheme.secondaryTextColor
|
||||||
onAccepted: {
|
onAccepted: {
|
||||||
manager.setFilter(text, sitefilterMode.currentIndex)
|
manager.setFilter(text, sitefilterMode.currentIndex)
|
||||||
}
|
}
|
||||||
|
@ -414,7 +415,7 @@ Kirigami.ScrollablePage {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Controls.Label {
|
TemplateLabel {
|
||||||
id: numShown
|
id: numShown
|
||||||
verticalAlignment: Text.AlignVCenter
|
verticalAlignment: Text.AlignVCenter
|
||||||
text: diveModel.shown
|
text: diveModel.shown
|
||||||
|
|
Loading…
Add table
Reference in a new issue