diff options
| author | Jeff Carr <[email protected]> | 2023-04-26 00:07:09 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2023-04-26 00:07:09 -0500 |
| commit | 4b9b381bcf02c212d72f55d4738943941e843250 (patch) | |
| tree | 60932c0fe675d477357318eb3d2de5e2b3a5c09d /toolkit/widget.go | |
| parent | 435b75b6e841ae981f6a98d2a0aaaafaedc2e170 (diff) | |
gocui: more spacing logic
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'toolkit/widget.go')
| -rw-r--r-- | toolkit/widget.go | 10 |
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 |
