home *** CD-ROM | disk | FTP | other *** search
/ GameStar 2004 November / Gamestar_67_2004-11_dvd.iso / Dema / footballmanager2005_betademo.exe / Data1.cab / _E9E548D8E83E4D4F8EC8943D98E49285 < prev    next >
Extensible Markup Language  |  2004-08-30  |  2KB  |  58 lines

  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!DOCTYPE container SYSTEM "http://www.sigames.com/dtds/container.dtd">
  3.  
  4. <panel>
  5.     <!-- stretch everything to the sides of the dialog -->
  6.     <layout class="stick_to_sides_attachment" alignment="horizontal" layout_children="true" />
  7.  
  8.     <!-- arrange items vertically -->
  9.     <layout class="arrange_vertical_attachment" alignment="top" />
  10.  
  11.     <!-- centre dialog in parent -->
  12.     <layout class="centre_in_parent_attachment" alignment="all" />
  13.  
  14.     <!-- fit the height of the dialog to the height of its components -->
  15.     <layout class="fit_children_attachment" alignment="vertical, fill" />
  16.     
  17.     <!-- header -->
  18.     <widget class="label" id="ques" text="Question">
  19.         <flags id="spec" value="text,large" />
  20.     </widget>
  21.  
  22.     <widget class="label" id="rstx" text="Reason" colour="selection"/>
  23.     
  24.     <!-- reason table -->
  25.     <widget class="table" id="rtwt" sele="item" dcac="doub" mode="0" row_height="20" stretch_to_fit_rows="true"/>
  26.  
  27.     <widget class="label" id="optx" text="Options" colour="selection"/>
  28.     
  29.     <!-- options table -->
  30.     <widget class="table" id="itwt" sele="item" dcac="doub" mode="0" row_height="20" stretch_to_fit_rows="true"/>
  31.  
  32.     <!-- spacer -->
  33.     <widget class="group_box" height="32"/>
  34.     
  35.     <!-- row of buttons -->
  36.     <widget class="group_box" id="btns">
  37.         <layout class="arrange_horizontal_attachment" alignment="right" />
  38.         <layout class="stick_to_sides_attachment" alignment="bottom" layout_children="true" />
  39.         <layout class="fit_children_attachment" alignment="vertical" inset="0" />
  40.         
  41.         <widget class="action_button_blue" id="no" text="No" auto_size="all">
  42.             <!-- we need to specify that this is a dialog event (dialog_event=true) -->
  43.             <record id="click_event">
  44.                 <flags id="event_id" value="no" />
  45.                 <flags id="dialog_event" value="true" />
  46.             </record>
  47.         </widget>
  48.  
  49.         <widget class="action_button_blue" id="yes" text="Yes" auto_size="all">
  50.             <!-- we need to specify that this is a dialog event (dialog_event=true) -->
  51.             <record id="click_event">
  52.                 <flags id="event_id" value="yes" />
  53.                 <flags id="dialog_event" value="true" />
  54.             </record>
  55.         </widget>
  56.     </widget>
  57. </panel>
  58.