Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion electrum/gui/qml/components/NostrConfigDialog.qml
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,6 @@ ElDialog {
Layout.fillWidth: true
Layout.fillHeight: true
font.family: FixedFont
topPadding: constants.paddingLarge
wrapMode: TextEdit.WrapAnywhere
onTextChanged: valid = verify(text)
inputMethodHints: Qt.ImhSensitiveData | Qt.ImhNoPredictiveText | Qt.ImhNoAutoUppercase
Expand Down
4 changes: 3 additions & 1 deletion electrum/gui/qml/components/controls/ElTextArea.qml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ Flickable {
property alias background: rootpane.background
property alias font: edit.font
property alias inputMethodHints: edit.inputMethodHints
property alias placeholderText: edit.placeholderText
property string placeholderText
property alias color: edit.color
property alias topPadding: rootpane.topPadding
readonly property bool anyActiveFocus: activeFocus || edit.activeFocus
Expand Down Expand Up @@ -49,11 +49,13 @@ Flickable {
width: root.width
height: Math.max(root.height, edit.height + topPadding + bottomPadding)
padding: constants.paddingXSmall
topPadding: constants.paddingLarge
TextArea {
id: edit
width: parent.width
focus: true
wrapMode: TextEdit.Wrap
placeholderText: edit.text.length ? "" : root.placeholderText
onCursorRectangleChanged: root.ensureVisible(cursorRectangle)
onTextChanged: root.textChanged()
background: Rectangle {
Expand Down