summaryrefslogtreecommitdiff
path: root/toolkit/widget.go
diff options
context:
space:
mode:
Diffstat (limited to 'toolkit/widget.go')
-rw-r--r--toolkit/widget.go10
1 files changed, 6 insertions, 4 deletions
diff --git a/toolkit/widget.go b/toolkit/widget.go
index 1a5a45f..51fe8b5 100644
--- a/toolkit/widget.go
+++ b/toolkit/widget.go
@@ -34,14 +34,16 @@ type Action struct {
A any // switch to this or deprecate this? pros/cons?
- // This GUI is intended for simple things
- // We are not laying out PDF's here
// This is used for things like a slider(0,100)
- Width int
- Height int
X int
Y int
+ // This GUI is intended for simple things
+ // Is having an option like 640x480 really a good idea?
+ // TODO: remove Width & Height measured in pixels?
+// Width int
+// Height int
+
// Put space around elements to improve look & feel
Margin bool