Settled the Label alignment TODO in label_darwin.go. Also more future plans.
This commit is contained in:
parent
219132f2f1
commit
5d4fd8169b
|
@ -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
|
||||
|
|
|
@ -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)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue