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) signal moved(value: real)
implicitHeight: rowLayout.implicitHeight + rowLayout.anchors.margins * 2 implicitHeight: rowLayout.implicitHeight + rowLayout.anchors.margins + rowLayout.anchors.topMargin
RowLayout { RowLayout {
id: rowLayout id: rowLayout
anchors.fill: parent anchors.fill: parent
anchors.margins: Tokens.padding.large anchors.margins: Tokens.padding.largeIncreased
anchors.leftMargin: Tokens.padding.largeIncreased anchors.topMargin: Tokens.padding.large
anchors.rightMargin: Tokens.padding.largeIncreased
spacing: Tokens.spacing.medium spacing: Tokens.spacing.medium
MaterialIcon { MaterialIcon {