diff options
| author | dsc <xmrdsc@protonmail.com> | 2019-04-25 21:09:23 +0200 |
|---|---|---|
| committer | dsc <xmrdsc@protonmail.com> | 2019-04-25 21:09:23 +0200 |
| commit | 62285b01dc77ef14e4b5b9cc291e34162321ad89 (patch) | |
| tree | 5ced9d312817ca03be17c242d1e2bd478b4fd1e5 /components/LineEditMulti.qml | |
| parent | e1c429110f5f2321ad0113a8097eab966d935dcd (diff) | |
| download | monzero-gui-62285b01dc77ef14e4b5b9cc291e34162321ad89.tar.gz monzero-gui-62285b01dc77ef14e4b5b9cc291e34162321ad89.tar.xz monzero-gui-62285b01dc77ef14e4b5b9cc291e34162321ad89.zip | |
Remove scaleRatio
Diffstat (limited to 'components/LineEditMulti.qml')
| -rw-r--r-- | components/LineEditMulti.qml | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/components/LineEditMulti.qml b/components/LineEditMulti.qml index f95961cb..266c6a30 100644 --- a/components/LineEditMulti.qml +++ b/components/LineEditMulti.qml @@ -41,16 +41,16 @@ ColumnLayout { property alias labelButtonText: labelButton.text property alias placeholderText: placeholderLabel.text - property int inputPaddingLeft: 10 * scaleRatio - property int inputPaddingRight: 10 * scaleRatio - property int inputPaddingTop: 10 * scaleRatio - property int inputPaddingBottom: 10 * scaleRatio + property int inputPaddingLeft: 10 + property int inputPaddingRight: 10 + property int inputPaddingTop: 10 + property int inputPaddingBottom: 10 property int inputRadius: 4 property bool placeholderCenter: false property string placeholderFontFamily: MoneroComponents.Style.fontRegular.name property bool placeholderFontBold: false - property int placeholderFontSize: 18 * scaleRatio + property int placeholderFontSize: 18 property string placeholderColor: MoneroComponents.Style.defaultFontColor property real placeholderOpacity: 0.35 @@ -69,12 +69,12 @@ ColumnLayout { property string labelFontColor: MoneroComponents.Style.defaultFontColor property bool labelFontBold: false - property int labelFontSize: 16 * scaleRatio + property int labelFontSize: 16 property bool labelButtonVisible: false property string fontColor: MoneroComponents.Style.defaultFontColor property bool fontBold: false - property int fontSize: 16 * scaleRatio + property int fontSize: 16 property bool mouseSelection: true property alias readOnly: input.readOnly @@ -100,7 +100,7 @@ ColumnLayout { id: inputLabelRect color: "transparent" Layout.fillWidth: true - height: (inputLabel.height + 10) * scaleRatio + height: (inputLabel.height + 10) visible: showingHeader ? true : false MoneroComponents.TextPlain { @@ -123,7 +123,7 @@ ColumnLayout { RowLayout { anchors.right: parent.right - spacing: 16 * scaleRatio + spacing: 16 MoneroComponents.LabelButton { id: labelButton @@ -177,7 +177,7 @@ ColumnLayout { visible: input.text ? false : true anchors.verticalCenter: parent.verticalCenter anchors.left: parent.left - anchors.leftMargin: 10 * scaleRatio + anchors.leftMargin: 10 opacity: item.placeholderOpacity color: item.placeholderColor font.family: item.placeholderFontFamily @@ -200,7 +200,7 @@ ColumnLayout { id: inlineButtonId visible: (inlineButtonId.text || inlineButtonId.icon) && inlineButtonVisible ? true : false anchors.right: parent.right - anchors.rightMargin: 8 * scaleRatio + anchors.rightMargin: 8 } } } |
