Changed the semantics of ContentBounds
This commit is contained in:
parent
28cd889254
commit
a2a5c16e38
|
@ -216,7 +216,7 @@ type ContentBox interface {
|
|||
// vertically.
|
||||
SetAlign (x, y Align)
|
||||
// ContentBounds returns the bounds of the inner content of the Box
|
||||
// relative to the window.
|
||||
// relative to the Box's InnerBounds.
|
||||
ContentBounds () image.Rectangle
|
||||
// ScrollTo shifts the origin of the Box's content to the origin of the
|
||||
// Box's InnerBounds, offset by the given point.
|
||||
|
|
Loading…
Reference in New Issue