More TODOs and example program tweaks.

This commit is contained in:
Pietro Gagliardi 2014-02-14 17:31:21 -05:00
parent 88646445b0
commit 32256074b5
2 changed files with 8 additions and 1 deletions

View File

@ -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)

View File

@ -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