'All variants script
AutoScaleAll
pnlLower.Bottom = 100%y
pnlLower.SetTopAndBottom(WebView1.Bottom, 100%y)
pnlLower.Width = 100%x
WebView1.Width = 100%x
WebView1.SetTopAndBottom(0%x, pnlLower.Top)
'buttons
b = 33%x
pad = 4dip
btnDown1.SetLeftAndRight(0, b)
btnDown1.SetTopAndBottom(pad, pnlLower.Height - pad)
btnDown2.SetLeftAndRight(b, 2 * b)
btnDown2.SetTopAndBottom(pad, pnlLower.Height - pad)
btnDown3.SetLeftAndRight(2 * b, 3 * b)
btnDown3.SetTopAndBottom(pad, pnlLower.Height - pad)