mirror of
https://git.sr.ht/~eliasnaur/gio
synced 2026-07-01 07:35:40 +00:00
layout: correct Align baseline
Signed-off-by: Elias Naur <mail@eliasnaur.com>
This commit is contained in:
+1
-1
@@ -217,7 +217,7 @@ func (a Align) Layout(gtx *Context, w Widget) {
|
||||
stack.Pop()
|
||||
gtx.Dimensions = Dimensions{
|
||||
Size: sz,
|
||||
Baseline: dims.Baseline,
|
||||
Baseline: dims.Baseline + p.Y,
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user