diff options
| author | Jeff Carr <[email protected]> | 2023-05-09 18:34:09 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2023-05-09 18:34:09 -0500 |
| commit | b392c40969e105b00efa262042d647303d6fbc2c (patch) | |
| tree | 95e25e5e288c096df69c36e2293af5ebc17a1d78 /toolkit/widget.go | |
| parent | 706bcef867ff2a26ab62a1e3d668ac441575df62 (diff) | |
andlabs: now attempt grid placement
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'toolkit/widget.go')
| -rw-r--r-- | toolkit/widget.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/toolkit/widget.go b/toolkit/widget.go index 38d4afc..4806f1c 100644 --- a/toolkit/widget.go +++ b/toolkit/widget.go @@ -38,6 +38,10 @@ type Action struct { X int Y int + // This is used for the widget's grid position + W int + H int + // Put space around elements to improve look & feel Margin bool |
