home *** CD-ROM | disk | FTP | other *** search
/ Chip 2004 April / Chip_2004-04_cd2.bin / program / reader / Data1.cab / Annots.api / EXVW / 10801 < prev    next >
Text File  |  2003-07-17  |  1KB  |  48 lines

  1. maxLabelWidth=max(
  2.     zstring_width(zstring: '$$$/Dialogs/StampCreate/Category'),
  3.     zstring_width(zstring: '$$$/Dialogs/StampCreate/Name'));
  4.  
  5. dialog(name: '$$$/Dialogs/StampCreate', target_id: 'brws')
  6. {
  7.     view(align_children: align_left)
  8.     {
  9.         cluster(align_children: align_right)
  10.         {
  11.             view(align_children: align_row)
  12.             {
  13.                 picture(item_id: 'prvw', width: 64, height: 64);
  14.                 button(item_id: 'brws', name: '$$$/Dialogs/StampCreate/SelectAppearance');
  15.             }
  16.  
  17.             view(align_children: align_left)
  18.             {
  19.                 view(align_children: align_row)
  20.                 {
  21.                     view(align_children: align_right, width: maxLabelWidth)
  22.                     {
  23.                         static_text(item_id: 'txt1', name: '$$$/Dialogs/StampCreate/Category');
  24.                     }
  25.                     view(align_children: align_left)
  26.                     {
  27.                         edit_text(item_id: 'cate', width: 8 * max_char_width(), PopupEdit: true);
  28.                     }
  29.                 }
  30.  
  31.                 view(align_children: align_row)
  32.                 {
  33.                     view(align_children: align_right, width: maxLabelWidth)
  34.                     {
  35.                         static_text(item_id: 'txt2', name: '$$$/Dialogs/StampCreate/Name');
  36.                     }
  37.                     view(align_children: align_left)
  38.                     {
  39.                         edit_text(item_id: 'name', alignment: align_fill, width: 8 * max_char_width(), height: gEditTextHeight);
  40.                     }
  41.                 }
  42.             }
  43.         }
  44.  
  45.         ok_cancel_help();
  46.     }
  47. }
  48.