diff options
Diffstat (limited to 'common.go')
| -rw-r--r-- | common.go | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -119,6 +119,17 @@ func (n *Node) String() string { if !n.Ready() { return "" } + switch n.WidgetType { + case widget.Window: + return n.label + case widget.Button: + return n.label + case widget.Group: + return n.label + case widget.Label: + return n.label + default: + } return widget.GetString(n.value) } |
