diff options
| author | Jeff Carr <[email protected]> | 2024-01-11 17:19:05 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2024-01-11 17:19:05 -0600 |
| commit | e198e7809671e06f6cbc5bd3618b741c04d48e4d (patch) | |
| tree | a86adbe13d55c8a42e42cd9026d2c6fd93ea146d | |
| parent | bc292d0968f5af3427b4459b855cb709a25776f2 (diff) | |
diagram for horizontal and verticalv1.1.1
Signed-off-by: Jeff Carr <[email protected]>
| -rw-r--r-- | geom.go | 25 |
1 files changed, 24 insertions, 1 deletions
@@ -44,7 +44,30 @@ type Size struct { Height any } -type Orientation int // Add, SetText, Click, Hide, Append, Delete, etc +/* + Horizontal means layout widgets like books on a bookshelf + + --------------------------------- + | W | W | W | W | W | W | W | W | + | i | i | i | i | i | i | i | i | + | d | d | d | d | d | d | d | d | + | g | g | g | g | g | g | g | g | + | e | e | e | e | e | e | e | e | + | t | t | t | t | t | t | t | t | + --------------------------------- + + Vertical means layout widgets like books in a stack + ---------- + | Widget | + ---------- + | Widget | + ---------- + | Widget | + ---------- + | Widget | + ---------- +*/ +type Orientation int const ( Horizontal Orientation = iota |
