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 / 20305 < prev    next >
Text File  |  2003-07-17  |  923b  |  27 lines

  1. gMaxLabelWidth = max( 
  2.     zstring_width(zstring: '$$$/Dialogs/CMSAdmPFXAuthenticate/Title'),
  3.     zstring_width(zstring: '$$$/Dialogs/CMSAdmPFXAuthenticate/Path'),
  4.     zstring_width(zstring: '$$$/Dialogs/CMSAdmPFXAuthenticate/PwdText') );
  5.  
  6. gMinEditWidth = max_char_width() * 15;
  7.  
  8. dialog( name: '$$$/Dialogs/CMSAdmPFXAuthenticate/Title' )
  9. {
  10.     view( align_children: align_left, alignment: align_fill )
  11.     {
  12.         view( align_children: align_row, alignment: align_fill )
  13.         {
  14.             static_text( name: '$$$/Dialogs/CMSAdmPFXAuthenticate/Path', dwidth: gMaxLabelWidth, alignment: align_right );
  15.             static_text( item_id: 'file', alignment: align_fill );
  16.         }
  17.         
  18.         view( align_children: align_row )
  19.         {
  20.             static_text( name: '$$$/Dialogs/CMSAdmPFXAuthenticate/PwdText', dwidth: gMaxLabelWidth, alignment: align_right );
  21.             edit_text( item_id: 'pass', password: true, dwidth: gMinEditWidth );
  22.         }
  23.         
  24.         ok_cancel();
  25.     }
  26. }
  27.