fix: add extra bottom padding to slider rows

Cause handle is not counted as part of height, so add extra padding to
bottom so it looks better
This commit is contained in:
2 * r + 2 * t 2026-06-07 17:05:22 +10:00
parent 917a06f815
commit e9a439599f

View file

@ -18,15 +18,14 @@ ConnectedRect {
signal moved(value: real)
implicitHeight: rowLayout.implicitHeight + rowLayout.anchors.margins * 2
implicitHeight: rowLayout.implicitHeight + rowLayout.anchors.margins + rowLayout.anchors.topMargin
RowLayout {
id: rowLayout
anchors.fill: parent
anchors.margins: Tokens.padding.large
anchors.leftMargin: Tokens.padding.largeIncreased
anchors.rightMargin: Tokens.padding.largeIncreased
anchors.margins: Tokens.padding.largeIncreased
anchors.topMargin: Tokens.padding.large
spacing: Tokens.spacing.medium
MaterialIcon {