home *** CD-ROM | disk | FTP | other *** search
/ Power Publisher 2 / Power Publisher 2.iso / Acrobat / AcroReader51_ENU.exe / Reader / plug_ins / Annotations / Annots.api / 1033 / EXVW / 10400 < prev    next >
Encoding:
Text File  |  2002-08-14  |  1.8 KB  |  54 lines

  1. gMaxWidth=max(
  2.     zstring_width(zstring: '$$$/Prefs/Annotations/Font'),
  3.     zstring_width(zstring: '$$$/Prefs/Annotations/FontSize'),
  4.     zstring_width(zstring: '$$$/Prefs/Annotations/PopupOpacity'));
  5.  
  6. dialog(name: '$$$/Prefs/Annotations', margin_height: 0, margin_width: 0)
  7. {
  8.     cluster(name: '$$$/Prefs/Annotations', dwidth: gPrefsPanelWidth, dheight: gPrefsPanelHeight, align_children: align_fill)
  9.     {
  10.         view(align_children: align_row)
  11.         {
  12.             view(align_children: align_right, width : gMaxWidth)
  13.             {
  14.                 static_text(name: '$$$/Prefs/Annotations/Font');
  15.             }
  16.             view(align_children: align_left)
  17.             {
  18.                 popup(item_id: 'font', width: max_char_width() * 18);
  19.             }
  20.         }
  21.         view(align_children: align_row)
  22.         {
  23.             view(align_children: align_right, width : gMaxWidth)
  24.             {
  25.                 static_text(name: '$$$/Prefs/Annotations/FontSize');
  26.             }
  27.             view(align_children: align_left)
  28.             {
  29.                 edit_text(item_id: 'fsiz', width: max_char_width() * 3, PopupEdit: true, numeric: true);
  30.             }
  31.         }
  32.         view(align_children: align_row)
  33.         {
  34.             view(align_children: align_right, width : gMaxWidth)
  35.             {
  36.                 static_text(name: '$$$/Prefs/Annotations/PopupOpacity');
  37.             }
  38.             view(align_children: align_left)
  39.             {
  40.                 edit_text(item_id: 'opaq', width: max_char_width() * 3, PopupEdit: true, numeric: true);
  41.             }
  42.         }
  43.         view(align_children: align_left)
  44.         {
  45.             check_box(item_id: 'aont', name: '$$$/Prefs/Annotations/AutoOpenNotes');
  46.             check_box(item_id: 'aoot', name: '$$$/Prefs/Annotations/AutoOpenOther');
  47.             check_box(item_id: 'hovr', name: '$$$/Prefs/Annotations/Hover');
  48.             check_box(item_id: 'sseq', name: '$$$/Prefs/Annotations/ShowSequenceNums');
  49.             check_box(item_id: 'idnt', name: '$$$/Prefs/Annotations/IdentThing');
  50.             check_box(item_id: 'ppop', name: '$$$/Prefs/Annotations/PrintPopups');
  51.         }
  52.     }
  53. }
  54.