From b392c40969e105b00efa262042d647303d6fbc2c Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Tue, 9 May 2023 18:34:09 -0500 Subject: andlabs: now attempt grid placement Signed-off-by: Jeff Carr --- toolkit/widget.go | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'toolkit/widget.go') 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 -- cgit v1.2.3