mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
sync with mobilecomponents 68c6dc9
This fixes spacing around the icon in the left drawer, the stretched-out icons in the navigation menu, the unnecessary scrolling in the same menu, and a few other things. Signed-off-by: Sebastian Kügler <sebas@kde.org>
This commit is contained in:
parent
6381c2eb2a
commit
f8fb9181b2
2 changed files with 25 additions and 5 deletions
|
@ -84,7 +84,7 @@ OverlayDrawer {
|
|||
anchors {
|
||||
left: parent.left
|
||||
top: parent.top
|
||||
margins: Units.smallSpacing
|
||||
margins: Units.smallSpacing * 2
|
||||
}
|
||||
Icon {
|
||||
id: headingIcon
|
||||
|
@ -140,6 +140,8 @@ OverlayDrawer {
|
|||
model: actions
|
||||
property int level: 0
|
||||
|
||||
interactive: contentHeight > height
|
||||
|
||||
footer: ListItem {
|
||||
visible: level > 0
|
||||
enabled: true
|
||||
|
@ -149,7 +151,8 @@ OverlayDrawer {
|
|||
left: parent.left
|
||||
}
|
||||
Icon {
|
||||
Layout.maximumWidth: height
|
||||
Layout.minimumWidth: height
|
||||
Layout.maximumWidth: Layout.minimumWidth
|
||||
Layout.fillHeight: true
|
||||
source: "go-previous"
|
||||
}
|
||||
|
@ -179,7 +182,8 @@ OverlayDrawer {
|
|||
text: modelData.text
|
||||
}
|
||||
Icon {
|
||||
Layout.maximumWidth: height
|
||||
Layout.minimumWidth: height
|
||||
Layout.maximumWidth: Layout.minimumWidth
|
||||
Layout.fillHeight: true
|
||||
source: "go-next"
|
||||
visible: modelData.children != undefined
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue