mirror of
https://github.com/zoriya/noctalia-shell.git
synced 2026-06-05 11:40:00 +00:00
Added support for NTextInput's inputIconName on NTextInputButton.
This commit is contained in:
@@ -12,6 +12,7 @@ ColumnLayout {
|
||||
property alias placeholderText: input.placeholderText
|
||||
property string label: ""
|
||||
property string description: ""
|
||||
property string inputIconName: ""
|
||||
property alias buttonIcon: button.icon
|
||||
property alias buttonTooltip: button.tooltipText
|
||||
property alias buttonEnabled: button.enabled
|
||||
@@ -38,6 +39,7 @@ ColumnLayout {
|
||||
|
||||
NTextInput {
|
||||
id: input
|
||||
inputIconName: root.inputIconName
|
||||
Layout.fillWidth: true
|
||||
Layout.alignment: Qt.AlignVCenter
|
||||
onTextChanged: root.inputTextChanged(text)
|
||||
|
||||
Reference in New Issue
Block a user