layout: fix comment

Signed-off-by: Elias Naur <mail@eliasnaur.com>
This commit is contained in:
Elias Naur
2019-10-21 10:38:58 +02:00
parent 72ed58e914
commit afcff9c8b5
+1 -1
View File
@@ -88,7 +88,7 @@ func (l *List) init(gtx *Context, len int) {
l.next()
}
// Layout the List and return its dimensions.
// Layout the List.
func (l *List) Layout(gtx *Context, len int, w ListElement) {
for l.init(gtx, len); l.more(); l.next() {
cs := axisConstraints(l.Axis, Constraint{Max: inf}, axisCrossConstraint(l.Axis, l.ctx.Constraints))