mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
mobile/UI: small adjustments, using the slim combo box
This changes most readonly combo boxes to use the smaller, more modern looking TemplateSlimComboBox and makes some layout adjustments on a few pages to overall create a better UI. A lot of this is just cleaning up things that were rather rough in the first place. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
2784f390a1
commit
ee3482c109
3 changed files with 14 additions and 13 deletions
|
@ -386,17 +386,15 @@ Kirigami.ScrollablePage {
|
|||
anchors.right: parent.right
|
||||
anchors.leftMargin: Kirigami.Units.gridUnit / 2
|
||||
anchors.rightMargin: Kirigami.Units.gridUnit / 2
|
||||
TemplateComboBox {
|
||||
TemplateSlimComboBox {
|
||||
visible: filterBar.height === sitefilter.implicitHeight
|
||||
id: sitefilterMode
|
||||
editable: false
|
||||
model: ListModel {
|
||||
ListElement {text: qsTr("Fulltext")}
|
||||
ListElement {text: qsTr("People")}
|
||||
ListElement {text: qsTr("Tags")}
|
||||
}
|
||||
font.pointSize: subsurfaceTheme.smallPointSize
|
||||
Layout.preferredWidth: parent.width * 0.2
|
||||
Layout.maximumWidth: parent.width * 0.3
|
||||
onActivated: {
|
||||
manager.setFilter(sitefilter.text, currentIndex)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue