Compare commits
1 Commits
365a74a2d9
...
eb46741165
Author | SHA1 | Date | |
---|---|---|---|
eb46741165 |
@ -63,9 +63,9 @@ func (p *StackPanel) preArrange(ctx Context, bounds geom.RectangleF32, clip bool
|
||||
func (p *StackPanel) Arrange(ctx Context, bounds geom.RectangleF32, offset geom.PointF32, parent Control) {
|
||||
childBounds := p.preArrange(ctx, bounds, true)
|
||||
for i := range p.Children {
|
||||
p.Children[i].Arrange(ctx, p.Orientation.FlipRect(childBounds[i]), offset, p)
|
||||
p.Children[i].Arrange(ctx, childBounds[i], offset, p)
|
||||
}
|
||||
p.ControlBase.Arrange(ctx, p.Orientation.FlipRect(bounds), offset, parent)
|
||||
p.ControlBase.Arrange(ctx, bounds, offset, parent)
|
||||
}
|
||||
|
||||
func (p *StackPanel) BoundsUnclipped(ctx Context, path ControlPath) geom.RectangleF32 {
|
||||
|
Loading…
Reference in New Issue
Block a user