home *** CD-ROM | disk | FTP | other *** search
/ Chip 2004 September (Special) / Chip-Special_2004-09_Digitalni-Hudba.bin / servis / reader / Data1.cab / Acroform.CZE / EXVW / 7000 < prev    next >
Text File  |  2003-07-19  |  5KB  |  165 lines

  1. gColumnOneWidth = max(
  2.     zstring_width(zstring: '$$$/Dialogs/FieldProps/BorderColor'),
  3.     zstring_width(zstring: '$$$/Dialogs/FieldProps/BorderWidth'),
  4.     zstring_width(zstring: '$$$/Dialogs/FieldProps/BorderStyle'),
  5.     zstring_width(zstring: '$$$/Dialogs/FieldProps/Border/FillColor'),
  6.     zstring_width(zstring: '$$$/Dialogs/FieldProps/TextColor'),
  7.     zstring_width(zstring: '$$$/Dialogs/FieldProps/Font'),
  8.     zstring_width(zstring: '$$$/Dialogs/FieldProps/TextSize'));
  9.  
  10. gColumnTwoWidth = max(
  11.     zstring_width(zstring: '$$$/Dialogs/FieldProps/FontSize/AUTO'),
  12.     zstring_width(zstring: '$$$/Dialogs/FieldProps/FontSize/SIX'),
  13.     zstring_width(zstring: '$$$/Dialogs/FieldProps/FontSize/EIGHT'),
  14.     zstring_width(zstring: '$$$/Dialogs/FieldProps/FontSize/NINE'),
  15.     zstring_width(zstring: '$$$/Dialogs/FieldProps/FontSize/TEN'),
  16.     zstring_width(zstring: '$$$/Dialogs/FieldProps/FontSize/TWELVE'),
  17.     zstring_width(zstring: '$$$/Dialogs/FieldProps/FontSize/FOURTEEN'),
  18.     zstring_width(zstring: '$$$/Dialogs/FieldProps/FontSize/EIGHTEEN'),
  19.     zstring_width(zstring: '$$$/Dialogs/FieldProps/Style/SOLID'),
  20.     zstring_width(zstring: '$$$/Dialogs/FieldProps/Style/DASHED'),
  21.     zstring_width(zstring: '$$$/Dialogs/FieldProps/Style/BEVELED'),
  22.     zstring_width(zstring: '$$$/Dialogs/FieldProps/Style/INSET'),
  23.     zstring_width(zstring: '$$$/Dialogs/FieldProps/Style/UNDERLINED'),
  24.     zstring_width(zstring: '$$$/Dialogs/FieldProps/Width/THIN'),
  25.     zstring_width(zstring: '$$$/Dialogs/FieldProps/Width/MEDIUM'),
  26.     zstring_width(zstring: '$$$/Dialogs/FieldProps/Width/THICK'));
  27.  
  28. gBorderCluster = '$$$/Dialogs/FieldProps/Border/ClusterName';
  29. gBorderColor = '$$$/Dialogs/FieldProps/BorderColor';
  30. gBorderWidth = '$$$/Dialogs/FieldProps/BorderWidth';
  31. gBorderStyle = '$$$/Dialogs/FieldProps/BorderStyle';
  32. gFillColor = '$$$/Dialogs/FieldProps/FillColor';
  33.  
  34. gTextCluster = '$$$/Dialogs/FieldProps/Text/ClusterName';
  35. gTextColor = '$$$/Dialogs/FieldProps/TextColor';
  36. gTextFont = '$$$/Dialogs/FieldProps/Font';
  37. gTextSize = '$$$/Dialogs/FieldProps/TextSize';
  38. gFontSubset = '$$$/Dialogs/FieldProps/FontSubset';
  39.  
  40. dialog(name: '$$$/Dialogs/FieldProps', target_id: 'brdr')
  41. {
  42.     view(align_children: align_top, alignment: align_fill)
  43.     {
  44.         view(align_children: align_left)
  45.         {
  46.             cluster(item_id: 'bdcl', name:gBorderCluster, align_children: align_row)
  47.             {
  48.                 view(align_children: align_left)
  49.                 {
  50.                     view(align_children: align_row)
  51.                     {
  52.                         view(align_children: align_right, width: gColumnOneWidth)
  53.                         {
  54.                             static_text(name: gBorderColor);
  55.                         }
  56.                         view(align_children: align_row)
  57.                         {
  58.                             button(item_id: 'brdr', picture: true, height: 20, width: 22);
  59.                         }
  60.                     }
  61.                     view(align_children: align_row)
  62.                     {
  63.                         view(align_children: align_right, width: gColumnOneWidth)
  64.                         {
  65.                             static_text(name: gFillColor);
  66.                         }
  67.                         view(align_children: align_row)
  68.                         {
  69.                             button(item_id: 'back', picture: true, height: 20, width: 22);
  70.                         }
  71.                     }
  72.                 }
  73.  
  74.                 view(align_children: align_right)
  75.                 {
  76.                     view(align_children: align_row)
  77.                     {
  78.                         view(align_children: align_right, width: gColumnOneWidth)
  79.                         {
  80.                             static_text(name: gBorderWidth);
  81.                         }
  82.                         view(align_children: align_left)
  83.                         {
  84.                             popup(item_id: 'wdth', width: gColumnTwoWidth);
  85.                         }
  86.                     }
  87.                     view(align_children: align_row)
  88.                     {
  89.                         view(align_children: align_right, width: gColumnOneWidth)
  90.                         {
  91.                             static_text(name: gBorderStyle);
  92.                         }
  93.                         view(align_children: align_left)
  94.                         {
  95.                             popup(item_id: 'styl', width: gColumnTwoWidth);
  96.                         }
  97.                     }
  98.                 }
  99.             }
  100.             cluster(item_id: 'txcl', name:gTextCluster, align_children:align_top)
  101.             {
  102.                 view(align_children: align_left, alignment: align_fill)
  103.                 {
  104.                     view(align_children: align_row, alignment: align_fill)
  105.                     {
  106.                         view(align_children: align_row, alignment: align_fill)
  107.                         {
  108.                             view(align_children: align_right, width: gColumnOneWidth)
  109.                             {
  110.                                 static_text(name: gTextSize);
  111.                             }
  112.                             view(alignment: align_fill, align_children: align_offscreen) 
  113.                             {
  114.                                 view(alignment: align_fill, align_children: align_row)
  115.                                 {
  116.                                     edit_text(item_id: 'szm1', width: gColumnTwoWidth);
  117.                                     popup(item_id: 'szm2', alignment:align_fill);
  118.                                 }
  119.                                 view(align_children: align_left)
  120.                                 {
  121.                                     edit_text(item_id: 'size', width: gColumnTwoWidth, PopupEdit: true);
  122.                                 }
  123.                             }
  124.                         }
  125.                         view(align_children: align_row)
  126.                         {
  127.                             view(align_children: align_right, width: gColumnOneWidth)
  128.                             {
  129.                                 static_text(name: gTextColor);
  130.                             }
  131.                             view(align_children: align_left)
  132.                             {
  133.                                 button(item_id: 'text', picture: true, height: 20, width: 22);
  134.                             }
  135.                         }
  136.                     }
  137.  
  138.                     view(align_children: align_row, alignment: align_fill)
  139.                     {
  140.                         view(align_children: align_right, width: gColumnOneWidth)
  141.                         {
  142.                             static_text(name: gTextFont);
  143.                         }
  144.                         view(alignment:align_fill, align_children: align_fill)
  145.                         {
  146.                             popup(item_id: 'font');
  147.                         }
  148.                     }
  149.                 }
  150.                 view(align_children: align_row)
  151.                 {
  152.                     view(align_children: align_right, width: gColumnOneWidth)
  153.                     {
  154.                         static_text(name: gFontSubset);
  155.                     }
  156.                     view(align_children: align_left)
  157.                     {
  158.                         popup(item_id: 'subs', width: gColumnTwoWidth);
  159.                     }
  160.                 }
  161.             }
  162.         }
  163.     }
  164. }
  165.