mirror of
https://github.com/monero-project/monero-gui.git
synced 2024-12-23 12:09:57 +00:00
Merge pull request #3371
ecc8b8c
RemoteNodeEdit: change border color on focus (xiphon)
This commit is contained in:
commit
ba7eeb12c5
1 changed files with 2 additions and 3 deletions
|
@ -56,7 +56,6 @@ GridLayout {
|
||||||
property int labelFontSize: 14
|
property int labelFontSize: 14
|
||||||
|
|
||||||
property string lineEditBackgroundColor: "transparent"
|
property string lineEditBackgroundColor: "transparent"
|
||||||
property string lineEditBorderColor: MoneroComponents.Style.inputBorderColorInActive
|
|
||||||
property string lineEditFontColor: MoneroComponents.Style.defaultFontColor
|
property string lineEditFontColor: MoneroComponents.Style.defaultFontColor
|
||||||
property bool lineEditFontBold: false
|
property bool lineEditFontBold: false
|
||||||
property int lineEditFontSize: 15
|
property int lineEditFontSize: 15
|
||||||
|
@ -67,6 +66,8 @@ GridLayout {
|
||||||
signal editingFinished()
|
signal editingFinished()
|
||||||
signal textChanged()
|
signal textChanged()
|
||||||
|
|
||||||
|
onActiveFocusChanged: activeFocus && daemonAddr.forceActiveFocus()
|
||||||
|
|
||||||
function isValid() {
|
function isValid() {
|
||||||
return daemonAddr.text.trim().length > 0 && daemonPort.acceptableInput
|
return daemonAddr.text.trim().length > 0 && daemonPort.acceptableInput
|
||||||
}
|
}
|
||||||
|
@ -92,7 +93,6 @@ GridLayout {
|
||||||
placeholderColor: root.placeholderColor
|
placeholderColor: root.placeholderColor
|
||||||
placeholderOpacity: root.placeholderOpacity
|
placeholderOpacity: root.placeholderOpacity
|
||||||
labelFontSize: root.labelFontSize
|
labelFontSize: root.labelFontSize
|
||||||
borderColor: lineEditBorderColor
|
|
||||||
backgroundColor: lineEditBackgroundColor
|
backgroundColor: lineEditBackgroundColor
|
||||||
fontColor: lineEditFontColor
|
fontColor: lineEditFontColor
|
||||||
fontBold: lineEditFontBold
|
fontBold: lineEditFontBold
|
||||||
|
@ -115,7 +115,6 @@ GridLayout {
|
||||||
placeholderColor: root.placeholderColor
|
placeholderColor: root.placeholderColor
|
||||||
placeholderOpacity: root.placeholderOpacity
|
placeholderOpacity: root.placeholderOpacity
|
||||||
labelFontSize: root.labelFontSize
|
labelFontSize: root.labelFontSize
|
||||||
borderColor: lineEditBorderColor
|
|
||||||
backgroundColor: lineEditBackgroundColor
|
backgroundColor: lineEditBackgroundColor
|
||||||
fontColor: lineEditFontColor
|
fontColor: lineEditFontColor
|
||||||
fontBold: lineEditFontBold
|
fontBold: lineEditFontBold
|
||||||
|
|
Loading…
Reference in a new issue