summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2014-02-14 17:31:21 -0500
committerPietro Gagliardi <[email protected]>2014-02-14 17:31:21 -0500
commit32256074b5404e2fe1a18dd67ca8ba93f20fd8b2 (patch)
treea63a75b425579d8732554bfb23448ace7b130284
parent88646445b02da6be218e7059b6c0ef72ab3cf98c (diff)
More TODOs and example program tweaks.
-rw-r--r--main.go4
-rw-r--r--todo.md5
2 files changed, 8 insertions, 1 deletions
diff --git a/main.go b/main.go
index f847a8b..1e571d6 100644
--- a/main.go
+++ b/main.go
@@ -16,7 +16,9 @@ func main() {
l := NewLabel("This is a label")
s0 := NewStack(Vertical, b, c, cb1, cb2, e, l)
lb := NewListbox(true, "Select One", "Or More", "To Continue")
- s := NewStack(Horizontal, lb, s0)
+ lb2 := NewListbox(false, "Select", "Only", "One", "Please")
+ s1 := NewStack(Vertical, lb2, lb)
+ s := NewStack(Horizontal, s1, s0)
err := w.Open(s)
if err != nil {
panic(err)
diff --git a/todo.md b/todo.md
index ae09000..7f052c6 100644
--- a/todo.md
+++ b/todo.md
@@ -8,6 +8,10 @@ so I don't forget:
- in fact, see if we really need to track errors on a lot of things...
- password entry fields, character-limited entry fields, numeric entry fields, multiline entry fields
- possible rename of LineEdit?
+- more flexible size appropriation: allow a small button to be at the top of everything in the main() example here
+- scrollbars on listboxes (shouldn't they be automatic? or is that just wine being dumb?)
+- [Windows] should ListBox have a border style?
+- padding and spacing in Stack; maybe a setting in Stack which keeps controls at their preferred size?
super ultra important things:
- the windows build appears to be unstable:
@@ -17,6 +21,7 @@ super ultra important things:
important things:
- maybe make it so sysData doesn't need specialized info on every control type?
- write an implementation documentation.
+- Control.preferredSize() (definitely needed for Grid and Form)
far off:
- localization