qml: ensure that the slider neutral position is in the middle of the screen
This commit is contained in:
@@ -159,8 +159,9 @@ ElDialog {
|
||||
id: swapslider
|
||||
Layout.topMargin: constants.paddingLarge
|
||||
Layout.bottomMargin: constants.paddingLarge
|
||||
Layout.leftMargin: constants.paddingXXLarge
|
||||
Layout.rightMargin: constants.paddingXXLarge
|
||||
Layout.leftMargin: constants.paddingXXLarge + (parent.width - 2 * constants.paddingXXLarge) * swaphelper.leftVoid
|
||||
Layout.rightMargin: constants.paddingXXLarge + (parent.width - 2 * constants.paddingXXLarge) * swaphelper.rightVoid
|
||||
|
||||
Layout.fillWidth: true
|
||||
|
||||
from: swaphelper.rangeMin
|
||||
|
||||
Reference in New Issue
Block a user