diff options
| author | Jeff Carr <[email protected]> | 2024-02-07 08:47:06 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2024-02-07 08:47:06 -0600 |
| commit | 2d0c73f58e68d34cbd2ab85ba82507d159da28de (patch) | |
| tree | eed9475503049dfb1176fe12c4c07f0b94337cda /setText.go | |
| parent | 2aed14a60cbb9208f8f9a507c83a3dd297a93640 (diff) | |
use internal log flagsv0.20.1
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'setText.go')
| -rw-r--r-- | setText.go | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -51,8 +51,15 @@ func (n *Node) SetText(text string) *Node { n.label = text case widget.Combobox: n.newString = text + n.currentS = text + n.defaultS = text case widget.Dropdown: n.newString = text + n.currentS = text + n.defaultS = text + case widget.Textbox: + n.currentS = text + n.defaultS = text case widget.Window: n.label = text default: |
