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:
parent
917a06f815
commit
e9a439599f
1 changed files with 3 additions and 4 deletions
|
|
@ -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 {
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue