From 52aef114fab755d2a58c19252cdc1bcbedd1c122 Mon Sep 17 00:00:00 2001 From: rating89us <45968869+rating89us@users.noreply.github.com> Date: Wed, 9 Jun 2021 05:42:43 +0200 Subject: LineEdit: use ColumnLayout instead of Item (also used in LineEditMulti) --- components/RemoteNodeEdit.qml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'components/RemoteNodeEdit.qml') diff --git a/components/RemoteNodeEdit.qml b/components/RemoteNodeEdit.qml index 7b4b4773..255f6673 100644 --- a/components/RemoteNodeEdit.qml +++ b/components/RemoteNodeEdit.qml @@ -82,9 +82,9 @@ GridLayout { return addr + ":" + port; } - LineEdit { + MoneroComponents.LineEdit { id: daemonAddr - Layout.fillWidth: true + Layout.preferredWidth: root.width/3 placeholderText: qsTr("Remote Node Hostname / IP") + translationManager.emptyString placeholderFontFamily: root.placeholderFontFamily placeholderFontBold: root.placeholderFontBold @@ -104,9 +104,9 @@ GridLayout { text: initialHostPort[1] } - LineEdit { + MoneroComponents.LineEdit { id: daemonPort - Layout.fillWidth: true + Layout.preferredWidth: root.width/3 placeholderText: qsTr("Port") + translationManager.emptyString placeholderFontFamily: root.placeholderFontFamily placeholderFontBold: root.placeholderFontBold -- cgit v1.2.3