<HorizontalLayout> <VerticalLayout float="true" relativepos="0,0,50,100"/> <VerticalLayout float="true" relativepos="50,0,50,100"/> </HorizontalLayout>
2个VerticalLayout随窗口变化自适应位置,relativepos为比例值
<HorizontalLayout> <VerticalLayout float="true" relativepos="0,0,50,100"/> <VerticalLayout float="true" relativepos="50,0,50,100"/> </HorizontalLayout>