2014-08-08 19:05:36 -05:00
Group
2014-08-08 19:14:25 -05:00
Mac OS X: NSBox
2014-08-08 19:05:36 -05:00
container_darwin.m: figure out if our setFrameSize: thing applies to resizing the groupbox as well
2014-08-08 19:14:25 -05:00
Control
Enable()
Disable()
Table
multiple selection
2014-08-11 13:17:22 -05:00
figure out if we can safely refresh view during Unlock() regardless of calling goroutine
2014-08-17 21:44:18 -05:00
refresh only selected columns of view to avoid flicker (especially on Windows)
2014-08-12 11:33:44 -05:00
document header behavior in general comment
add functions for header manipulation
2014-08-08 21:28:58 -05:00
Tab
// [TODO if each tab of your Tab is going to have the same content Controls, then use LikeTab instead, to conserve resources]
Delete()
// Delete removes the given tab.
// It panics if index is out of range.
// After Delete(), the effect of accessing the Control of the deleted tab or any of its children is undefned. [TODO reword?]
investigate close buttons (especially for LikeTab)
2014-08-09 09:33:38 -05:00
Area
Repaint(rect image.Rectangle)
2014-08-14 08:38:12 -05:00
keyboard scrolling
GTK+ port: our_area_focus_callback() has something to do with it
2014-08-15 19:08:14 -05:00
OpenTextFieldAt() and OpenTextAreaAt() to allow editing of text from within Areas
2014-08-10 13:37:34 -05:00
Tree
2014-08-10 13:42:58 -05:00
Mac OS X: make sure newScrollView() has the correct parameters for Table and Tree (and that Area has the appropriate ones from both + its own no border)
2014-08-10 23:17:21 -05:00
TextArea
Mac OS X: be sure to call disableAutocorrect()
2014-08-11 12:27:17 -05:00
Mac OS X
label alignment
// in the other case, the most correct thing would be for Label to be aligned to the alignment rect, but I can't get this working, and it looks fine as it is anyway
other controls
same rules? checkboxes seem damning...
2014-08-14 12:44:24 -05:00
ok in general
spacing applies to alignment rects
will conflict with Stack/Grid precalculation
unless we resize the control and move it around to suit
Tabs seem to have differnt margin rules
need to check padding rules within Tabs
2014-08-14 18:45:33 -05:00
activateIgnoringOtherApps: and command line programs: evaluate just how much it will matter
http://stackoverflow.com/a/25318870/3408572
2014-08-12 11:33:44 -05:00
TextField
2014-08-14 12:44:24 -05:00
text alignment (think labels and checkboxes) may be a perpetual problem though
2014-08-12 11:33:44 -05:00
add events (figure out which of the following are appropriate: changed, enter pressed)
provide some facility to mark invalid values
figure out numerics because you CAN paste into numeric boxes on Windows and GTK+ has no built-in number validator as far as I know
2014-08-12 18:55:56 -05:00
Stack, Grid
method calls should trigger re-layout of windows
2014-08-13 06:59:27 -05:00
default buttons
figure out how they interact with Areas (especially on GTK+, where GtkEntry somehow has special handling for this)
2014-08-13 08:57:22 -05:00
in general
new moving stack and future moving heap make package ui a pain in general
2014-08-14 08:38:12 -05:00
dialog boxes
find out if Stop has an effect before a dialog box function returns
2014-08-08 19:16:42 -05:00
so I don't forget, some TODOs:
windows
- backgrounds are not transparent
2014-08-13 13:09:53 -05:00
- tab order is backwards
2014-08-14 14:41:05 -05:00
- flicker ahoy
- not all controls are transparent
2014-08-17 22:02:40 -05:00
- extra space on first column of all Tables on real Windows
2014-08-18 19:11:50 -05:00
- OpenFile() not modal
- OpenFile() won't stop Do()
2014-08-19 03:04:10 -05:00
- labels draw over themselves
2014-08-14 22:55:50 -05:00
gtk+
2014-08-15 17:59:42 -05:00
- Area: figure out how Enter is processed in Entry
2014-08-15 18:17:30 -05:00
https://git.gnome.org/browse/gtk+/tree/gtk/gtkwindow.c#n1229
2014-08-15 19:08:14 -05:00
gtk+, mac os x
- figure out how dialogs and Areas work together
- once that is done, document the behavior of Areas
2014-08-14 08:53:29 -05:00
all
- make spaced settable somehow
2014-08-18 09:41:58 -05:00
- rename Selected to Selection?