diff options
Diffstat (limited to 'size.go')
| -rw-r--r-- | size.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -76,7 +76,7 @@ func (tk *guiWidget) Size() (int, int) { case widget.Label: return len(tk.String()) + 2, 1 case widget.Textbox: - return len(tk.String()) + 10, 3 // TODO: compute this based on 'window dense' + return len(tk.String()) + 2, 3 // TODO: compute this based on 'window dense' case widget.Checkbox: return len(tk.String()) + 2, 3 // TODO: compute this based on 'window dense' case widget.Button: |
