home *** CD-ROM | disk | FTP | other *** search
/ MacFormat UK 164 - Disc 2 / MF_UK_164_2.iso / DiscContents / Games / Football Manager 2006 / Install Mac FM2006 Gold Demo.dmg / FM2006 Gold Demo / data / panels / dialog.xml < prev    next >
Encoding:
Extensible Markup Language  |  2005-09-25  |  1.2 KB  |  35 lines

  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!DOCTYPE container SYSTEM "http://www.sigames.com/dtds/container.dtd">
  3.  
  4. <panel id="dlog">
  5.     <!-- stretch everything to the sides of the dialog -->
  6.     <layout class="stick_to_sides_attachment" alignment="horizontal" layout_children="true" inset="0"/>
  7.  
  8.     <!-- make dialog moveable -->
  9.     <attachment class="moveable_attachment"/>
  10.     
  11.     <!-- arrange items vertically, with text at top -->
  12.     <layout class="arrange_vertical_attachment" alignment="top" gap="8"/>
  13.  
  14.     <!-- centre dialog in parent -->
  15.     <layout class="centre_in_parent_attachment" alignment="all"/>
  16.  
  17.     <!-- fit the height of the dialog to the height of its components -->
  18.     <layout class="fit_children_attachment" alignment="vertical, fill" gap="8"/>
  19.     
  20.     <!-- text field - should resize vertically to ensure
  21.          that it's contents fit -->
  22.     <widget class="text" id="text" auto_size="vertical"/>
  23.  
  24.     <!-- editable text field - normally hidden -->
  25.     <!-- by default the return action does the same as clicking ok -->
  26.     <widget class="edit_box" id="edit" hidn="true" rtev="ok" afoc="true" />
  27.  
  28.     <!-- standard buttons / these get shown & hidden by subclasses -->
  29.     <container id="btns" file="dialog buttons">
  30.  
  31.  
  32.     </container>
  33.  
  34. </panel>
  35.