ScrollContainer no longer embeds ContainerBox
This commit is contained in:
parent
bc175bb5ae
commit
8b79fec1bd
@ -37,9 +37,11 @@ func (sides ScrollSide) String () string {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
var _ tomo.Object = new(ScrollContainer)
|
||||||
|
|
||||||
// ScrollContainer couples a ContentBox with one or two Scrollbars.
|
// ScrollContainer couples a ContentBox with one or two Scrollbars.
|
||||||
type ScrollContainer struct {
|
type ScrollContainer struct {
|
||||||
tomo.ContainerBox
|
box tomo.ContainerBox
|
||||||
|
|
||||||
root tomo.ContentObject
|
root tomo.ContentObject
|
||||||
horizontal *Scrollbar
|
horizontal *Scrollbar
|
||||||