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 /size.go | |
| parent | af3fec6f2073b2d184c2f7ecb10d24658ad2970c (diff) | |
text boxes are forced 5 spaces wide
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()) + 2, 3 // TODO: compute this based on 'window dense' + return len(tk.String()) + 10, 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: |
