home *** CD-ROM | disk | FTP | other *** search
- gButtonLabelWidth = max(
- zstring_width(zstring: '$$$avAllToolButtonLabels'),
- zstring_width(zstring: '$$$avDefaultToolButtonLabels'),
- zstring_width(zstring: '$$$avNoToolButtonLabels'));
-
- gBookmarkMaxWidth=max(
- zstring_width(zstring: '$$$/Prefs/Options/BookmarkFont'),
- zstring_width(zstring: '$$$/Prefs/Options/BookmarkFontSize'));
-
- gAlignWidth=max(
- zstring_width(zstring: '$$$/Prefs/Options/DisplayButtonLabels'),
- zstring_width(zstring: '$$$/Prefs/Options/MaxDocsInMRU'),
- zstring_width(zstring: '$$$/Prefs/Options/Selection/TextHalo'),
- zstring_width(zstring: '$$$/Prefs/Options/Selection/ColumnHalo'));
-
- dialog(name: '$$$/Prefs/Options', margin_height: 0, margin_width: 0)
- {
- view(align_children: align_left)
- {
- cluster(name: '$$$/Prefs/Options/Selection', align_children: align_left, dwidth: gPrefsPanelWidth)
- {
- view(align_children: align_left)
- {
- check_box(item_id: 'hand', name: '$$$/Prefs/Options/Selection/HandSelects');
- view(align_children: align_row)
- {
- static_text(name: '$$$/Prefs/Options/Selection/TextHalo',
- width: gAlignWidth, alignment: align_right);
- edit_text(item_id: 'thlo', width: 5 * max_digit_width(), numeric: true, SpinEdit: true);
- }
- view(align_children: align_row)
- {
- static_text(name: '$$$/Prefs/Options/Selection/ColumnHalo',
- width: gAlignWidth, alignment: align_right);
- edit_text(item_id: 'chlo', width: 5 * max_digit_width(), numeric: true, SpinEdit: true);
- }
- }
- }
- cluster(name: '$$$/Prefs/Options/Other', dwidth: gPrefsPanelWidth, align_children: align_row)
- {
- view(align_children: align_left, alignment: align_fill)
- {
- view(align_children: align_row)
- {
- static_text(name: '$$$/Prefs/Options/DisplayButtonLabels',
- width: gAlignWidth, alignment: align_right);
- popup(item_id: 'BtnL', width: gButtonLabelWidth);
- }
- view(align_children: align_row)
- {
- static_text(name: '$$$/Prefs/Options/MaxDocsInMRU',
- width: gAlignWidth, alignment: align_right);
- edit_text(item_id: 'Mrul', SpinEdit: true, width: max_digit_width() * 6);
- }
- view(align_children: align_left, alignment: align_fill)
- {
- check_box(item_id: 'XDoc', name: '$$$/Prefs/Options/OpenCrossDocLinksInSameWindow');
- check_box(item_id: 'opti', name: '$$$/Prefs/Options/SaveAsOptimized');
- check_box(item_id: 'PSXO', name: '$$$/Prefs/Options/PostScriptXObjs');
- check_box(item_id: 'ePPr', name: '$$$/Prefs/Options/EnablePrintPreview');
- check_box(item_id: 'hkey', name: '$$$/Prefs/Options/ToolHotkeys');
- view(align_children: align_top, alignment: align_fill)
- {
- check_box(item_id: 'EdWn', name: '$$$/Prefs/Options/SkipEditingWarnings');
- gap(alignment: align_fill);
- button(item_id: 'Rest', name: '$$$/Prefs/Options/ResetWarnings');
- }
- gap();
- }
- }
- }
- }
- }
-