home *** CD-ROM | disk | FTP | other *** search
/ Chip 2004 September (Special) / Chip-Special_2004-09_Digitalni-Hudba.bin / servis / reader / Data1.cab / PPKLite.api / EXVW / 20227 < prev    next >
Text File  |  2003-07-17  |  2KB  |  43 lines

  1. gKeyTextWidth = max( zstring_width(zstring: '$$$/Dialogs/FDFOpenImport/Sender/Name'),
  2.                     zstring_width(zstring: '$$$/Dialogs/FDFOpenImport/Sender/Email') );
  3.  
  4. gDialogWidth = max( 500, zstring_width(zstring: '$$$/Dialogs/FDFOpenImport/Note') + 40 );
  5.  
  6. gExportButtonWidth = 10 + max(
  7.     zstring_width(zstring: '$$$IDS_BUTTON_FDFOpenExportEMail'),
  8.     zstring_width(zstring: '$$$IDS_BUTTON_FDFOpenExportWeb') );
  9.  
  10. dialog(name: '$$$/Dialogs/FDFOpen/TitleExport', target_id: 'name' )
  11. {
  12.     view(align_children: align_left, alignment: align_fill)
  13.     {
  14.         static_text(item_id: 'note', name: '$$$/Dialogs/FDFOpenImport/Note', width: gDialogWidth );
  15.         view( align_children: align_top, alignment: align_fill )
  16.         {
  17.             gap(width: 5);
  18.             static_text(item_id: 'type', name: '$$$/Dialogs/FDFOpen/TypeExport', alignment: align_fill, font_id: 5 );
  19.         }
  20.  
  21.         cluster(name: '$$$/Dialogs/FDFOpenImport/Sender/ClusterName', align_children: align_left, alignment: align_fill )
  22.         {
  23.             view(align_children: align_row, alignment: align_fill)
  24.             {
  25.                 static_text(name: '$$$/Dialogs/FDFOpenImport/Sender/Name', width: gKeyTextWidth, alignment: align_right);
  26.                 static_text(item_id: 'or1T', alignment: align_fill);
  27.             }
  28.             view(align_children: align_row, alignment: align_fill)
  29.             {
  30.                 static_text(name: '$$$/Dialogs/FDFOpenImport/Sender/Email', width: gKeyTextWidth, alignment: align_right);
  31.                 static_text(item_id: 'or2T', alignment: align_fill);
  32.             }
  33.         }
  34.  
  35.         cluster(name: '$$$/Dialogs/FDFOpen/Export/ClusterName', align_children: align_left, alignment: align_fill )
  36.         {
  37.             static_text(item_id: 'expT', alignment: align_fill );
  38.             button(item_id: 'expB', width: gExportButtonWidth, alignment: align_right );
  39.         }
  40.  
  41.         ok(ok_name: '$$$/Dialogs/CloseButton');
  42.     }
  43. }