'All variants script
AutoScaleAll
Panel1.SetLeftAndRight( 5dip, 50%x)
Panel2.SetLeftAndRight( Panel1.Right + 5dip, 100%x - 5dip)
Panel3.SetLeftAndRight( 5dip, 50%x)
Panel4.SetLeftAndRight( Panel3.Right + 5dip, 100%x - 5dip)
topofbox = Label3.Bottom + 10dip
MiddleOfBox = (100%y + topofbox) / 2
Panel3.SetTopAndBottom(MiddleOfBox + 2dip, 100%y - 5dip)
Panel1.SetTopAndBottom( topofbox + 5dip, MiddleOfBox - 2dip )
Panel4.SetTopAndBottom(MiddleOfBox + 2dip, 100%y - 5dip)
Panel2.SetTopAndBottom( topofbox + 5dip, MiddleOfBox - 2dip )