does layout file problem?


08-07-2014 08:15:23

My layout file seem have some problem.I can see the normal result with the LayoutEditor "Test" menuItem,but I can't see anything from my program after I load the layout file.The following is my layout file.Does anyone who can help me?

<?xml version="1.0" encoding="UTF-8"?>
<MyGUI type="Layout" version="3.2.0">
<Widget type="Widget" skin="" position_real="0 0 1 1" align="Stretch" layer="Back" name="panel_Welcome">
<UserString key="ActivateTime" value="0.3"/>
<UserString key="MoveTime" value="1"/>
<Widget type="ImageBox" skin="welcome_up" position_real="0 -0.0996094 1 0.699219" layer="Overlapped" name="welcome_up">
<Widget type="TextBox" skin="TextBox" position_real="0.249023 0.432961 0.503906 0.318436">
<Property key="Caption" value="某某石油化工集团\n\n—消防安全演练"/>
<Property key="FontName" value="font_STXINWEI"/>
<Property key="FontHeight" value="70"/>
<Property key="TextAlign" value="Center"/>
<Property key="TextColour" value="0 0 0"/>
<Widget type="ImageBox" skin="welcome_down" position_real="0 0.595703 1 0.5" layer="Overlapped" name="welcome_down">
<Widget type="Button" skin="touming" position_real="0.361328 0.283203 0.316406 0.375" name="startRun">
<Property key="FontName" value="font_STXINWEI"/>
<Property key="FontHeight" value="80"/>
<Property key="Caption" value="进入系统"/>
<Property key="TextAlign" value="Center"/>