diff options
Diffstat (limited to 'place.go')
| -rw-r--r-- | place.go | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -314,8 +314,8 @@ func textSize(n *tree.Node) (int, int) { */ func (tk *guiWidget) gocuiSetWH(sizeW, sizeH int) { - w := len(widget.GetString(tk.value)) - lines := strings.Split(widget.GetString(tk.value), "\n") + w := len(tk.node.GetLabel()) + lines := strings.Split(tk.node.GetLabel(), "\n") h := len(lines) if tk.Hidden() { |
