diff options
| author | Pietro Gagliardi <[email protected]> | 2014-08-11 13:27:17 -0400 |
|---|---|---|
| committer | Pietro Gagliardi <[email protected]> | 2014-08-11 13:27:17 -0400 |
| commit | 5d4fd8169b3d13ff1d0ccb6592cd925bcd2d8c80 (patch) | |
| tree | 881dc7d7249063aa86c17e9c8fdc5fdbfd1fd1fb | |
| parent | 219132f2f18d3b77d472e218bbcd39eb059bb90d (diff) | |
Settled the Label alignment TODO in label_darwin.go. Also more future plans.
| -rw-r--r-- | redo/future | 5 | ||||
| -rw-r--r-- | redo/label_darwin.go | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/redo/future b/redo/future index 01bbc95..cdcb3cc 100644 --- a/redo/future +++ b/redo/future @@ -23,6 +23,11 @@ Tree 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) TextArea Mac OS X: be sure to call disableAutocorrect() +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... so I don't forget, some TODOs: windows diff --git a/redo/label_darwin.go b/redo/label_darwin.go index d42bd0a..73f6d28 100644 --- a/redo/label_darwin.go +++ b/redo/label_darwin.go @@ -81,7 +81,7 @@ func (l *label) commitResize(c *allocation, d *sizing) { // and we just add that c.y += int(yoff) } - // TODO if there's no baseline, the alignment should be to the top /of the alignment rect/, not the frame + // 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 } basecommitResize(l, c, d) } |
