mirror of
https://github.com/vsariola/sointu.git
synced 2025-11-14 05:42:47 -05:00
refactor(tracker/gioui): Surface is given relative Height, not Gray
This commit is contained in:
parent
3495d91a4a
commit
fa9654d311
@ -120,7 +120,7 @@ func (oe *OrderEditor) Layout(gtx C) D {
|
||||
table := FilledScrollTable(t.Theme, oe.scrollTable)
|
||||
table.ColumnTitleHeight = orderTitleHeight
|
||||
|
||||
return Surface{Gray: 24, Focus: oe.scrollTable.TreeFocused(gtx)}.Layout(gtx, func(gtx C) D {
|
||||
return Surface{Height: 3, Focus: oe.scrollTable.TreeFocused(gtx)}.Layout(gtx, func(gtx C) D {
|
||||
return table.Layout(gtx, cell, colTitle, rowTitle, nil, rowTitleBg)
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user