diff --git a/components/DatePicker.qml b/components/DatePicker.qml index 6fb3605d..c08f97ad 100644 --- a/components/DatePicker.qml +++ b/components/DatePicker.qml @@ -71,10 +71,11 @@ Item { Text { id: inputLabel anchors.top: parent.top + anchors.topMargin: 2 anchors.left: parent.left font.family: Style.fontRegular.name - font.pixelSize: 16 - font.bold: false + font.pixelSize: 14 + font.bold: true textFormat: Text.RichText color: Style.defaultFontColor diff --git a/components/LineEdit.qml b/components/LineEdit.qml index 243cc767..7f46506f 100644 --- a/components/LineEdit.qml +++ b/components/LineEdit.qml @@ -34,7 +34,7 @@ Item { property alias text: input.text property alias placeholderText: placeholderLabel.text property bool placeholderCenter: false - property int placeholderFontSize: 18 + property int placeholderFontSize: 18 * scaleRatio property alias validator: input.validator property alias readOnly : input.readOnly property alias cursorPosition: input.cursorPosition @@ -53,12 +53,12 @@ Item { property alias labelTextFormat: inputLabel.textFormat property string backgroundColor: "transparent" property string tipText: "" - property int labelFontSize: 16 * scaleRatio - property bool labelFontBold: false + property int labelFontSize: 14 * scaleRatio + property bool labelFontBold: true property alias labelWrapMode: inputLabel.wrapMode property alias labelHorizontalAlignment: inputLabel.horizontalAlignment property bool showingHeader: inputLabel.text !== "" || copyButton - property int inputHeight: 42 + property int inputHeight: 42 * scaleRatio signal labelLinkActivated(); // input label, rich text signal signal editingFinished(); signal accepted(); 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 diff --git a/pages/History.qml b/pages/History.qml index 2e44b940..6a0206f8 100644 --- a/pages/History.qml +++ b/pages/History.qml @@ -218,6 +218,8 @@ Rectangle { id: transactionPriority Layout.minimumWidth: 120 * scaleRatio text: qsTr("Sort") + translationManager.emptyString + fontSize: 14 + fontBold: true } ListModel { diff --git a/pages/Transfer.qml b/pages/Transfer.qml index 6e45b62a..96bd0dc1 100644 --- a/pages/Transfer.qml +++ b/pages/Transfer.qml @@ -161,6 +161,8 @@ Rectangle { Label { id: transactionPriority text: qsTr("Transaction priority") + translationManager.emptyString + fontBold: true + fontSize: 14 } // Note: workaround for translations in listElements // ListElement: cannot use script for property value, so