diff options
| author | Sander Ferdinand <sa.ferdinand@gmail.com> | 2018-01-12 01:45:27 +0100 |
|---|---|---|
| committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2018-03-29 23:04:02 +0100 |
| commit | 6677a185f8ec869a5b8bd8adce349b80a3c9ddd4 (patch) | |
| tree | d3bf0040ca20ada80a2a83535063e01ea13a29ea /components/LineEditMulti.qml | |
| parent | a9b6a70d1594f18b77187b5423e88086129429f9 (diff) | |
| download | monzero-gui-6677a185f8ec869a5b8bd8adce349b80a3c9ddd4.tar.gz monzero-gui-6677a185f8ec869a5b8bd8adce349b80a3c9ddd4.tar.xz monzero-gui-6677a185f8ec869a5b8bd8adce349b80a3c9ddd4.zip | |
Some font adjustments
Diffstat (limited to 'components/LineEditMulti.qml')
| -rw-r--r-- | components/LineEditMulti.qml | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/components/LineEditMulti.qml b/components/LineEditMulti.qml index abed2696..5cc76e2d 100644 --- a/components/LineEditMulti.qml +++ b/components/LineEditMulti.qml @@ -39,7 +39,7 @@ ColumnLayout { property alias readOnly: multiLine.readOnly property alias addressValidation: multiLine.addressValidation property alias labelButtonText: labelButton.text - property bool labelFontBold: false + property bool labelFontBold: true property bool labelButtonVisible: false property bool copyButton: false signal labelButtonClicked(); @@ -50,14 +50,14 @@ ColumnLayout { id: inputLabelRect color: "transparent" Layout.fillWidth: true - height: inputLabel.height + 10 + height: (inputLabel.height + 10) * scaleRatio Text { id: inputLabel anchors.top: parent.top anchors.left: parent.left font.family: Style.fontRegular.name - font.pixelSize: 16 * scaleRatio + font.pixelSize: 14 * scaleRatio font.bold: labelFontBold textFormat: Text.RichText color: Style.defaultFontColor @@ -92,15 +92,15 @@ ColumnLayout { addressValidation: true anchors.top: inputLabelRect.bottom Layout.fillWidth: true - topPadding: 10 - bottomPadding: 10 + topPadding: 10 * scaleRatio + bottomPadding: 10 * scaleRatio Text { id: placeholderLabel visible: multiLine.text ? false : true anchors.verticalCenter: parent.verticalCenter anchors.left: parent.left - anchors.leftMargin: 10 + anchors.leftMargin: 10 * scaleRatio opacity: 0.25 color: Style.defaultFontColor font.family: Style.fontRegular.name |
