if 100%x>100%y then
label1.top=main.top
label2.top=main.top
label3.top=main.top
label1.right=main.left-1
label2.right=label1.left-1
label3.right=label2.left-1
else
label1.bottom=main.top
label2.bottom=main.top
label3.bottom=main.top
label1.left=main.horizontalcenter-(label2.width/2)
label2.left=main.horizontalcenter
label3.left=main.horizontalcenter+(label2.width/2)
end if