diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2020-12-20 17:14:01 -0800 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2020-12-20 17:14:07 -0800 |
commit | 535a15e5fd8116dc5aefe5c247b2182afe491099 (patch) | |
tree | c5506b7add4909a1964ac029a525ae72b2e24fee /mobile-widgets/qml/DiveList.qml | |
parent | 68a15b8cdfd75a40b8deff279b6a19689606d396 (diff) | |
download | subsurface-535a15e5fd8116dc5aefe5c247b2182afe491099.tar.gz |
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>
Diffstat (limited to 'mobile-widgets/qml/DiveList.qml')
-rw-r--r-- | mobile-widgets/qml/DiveList.qml | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/mobile-widgets/qml/DiveList.qml b/mobile-widgets/qml/DiveList.qml index c2c8b404f..74662bce1 100644 --- a/mobile-widgets/qml/DiveList.qml +++ b/mobile-widgets/qml/DiveList.qml @@ -397,12 +397,13 @@ Kirigami.ScrollablePage { manager.setFilter(sitefilter.text, currentIndex) } } - Controls.TextField { + TemplateTextField { id: sitefilter verticalAlignment: TextInput.AlignVCenter Layout.fillWidth: true text: "" placeholderText: sitefilterMode.currentText + placeholderTextColor: subsurfaceTheme.secondaryTextColor onAccepted: { manager.setFilter(text, sitefilterMode.currentIndex) } @@ -414,7 +415,7 @@ Kirigami.ScrollablePage { } } } - Controls.Label { + TemplateLabel { id: numShown verticalAlignment: Text.AlignVCenter text: diveModel.shown |