diff options
| author | Jeff Carr <[email protected]> | 2025-02-09 04:03:48 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-02-09 04:03:48 -0600 |
| commit | 955afcb1a98c87dfd51182fa03a25b8ad6495254 (patch) | |
| tree | b04fe2a58148a74331301fc6c87bf9278888dc67 /treeWidget.go | |
| parent | af3fec6f2073b2d184c2f7ecb10d24658ad2970c (diff) | |
text boxes are forced 5 spaces wide
Diffstat (limited to 'treeWidget.go')
| -rw-r--r-- | treeWidget.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/treeWidget.go b/treeWidget.go index 166cb77..2c3f5b2 100644 --- a/treeWidget.go +++ b/treeWidget.go @@ -79,6 +79,10 @@ func (tk *guiWidget) String() string { if curval != "" { return curval } + curval = tk.GetText() + if curval != "" { + return curval + } curval = tk.node.String() if curval != "" { return curval |
