summaryrefslogtreecommitdiff
path: root/toolkit/widget.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2023-05-09 18:34:09 -0500
committerJeff Carr <[email protected]>2023-05-09 18:34:09 -0500
commitb392c40969e105b00efa262042d647303d6fbc2c (patch)
tree95e25e5e288c096df69c36e2293af5ebc17a1d78 /toolkit/widget.go
parent706bcef867ff2a26ab62a1e3d668ac441575df62 (diff)
andlabs: now attempt grid placement
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'toolkit/widget.go')
-rw-r--r--toolkit/widget.go4
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