home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Chip 2004 September (Special)
/
Chip-Special_2004-09_Digitalni-Hudba.bin
/
servis
/
reader
/
Data1.cab
/
RdLang32.CZE
/
EXVW
/
10052
< prev
next >
Wrap
Text File
|
2003-07-19
|
4KB
|
136 lines
gLeftColumnWidth = max(
zstring_width(zstring: '$$$/Prefs/Grid/PageAndRulerUnits'),
zstring_width(zstring: '$$$/Prefs/Grid/Width'),
zstring_width(zstring: '$$$/Prefs/Grid/Height'),
zstring_width(zstring: '$$$/Prefs/Grid/Horizontal'),
zstring_width(zstring: '$$$/Prefs/Grid/Vertical'),
zstring_width(zstring: '$$$/Prefs/Grid/Subdivisions'),
zstring_width(zstring: '$$$/Prefs/Grid/Color')
);
gPopupWidth = max(
zstring_width(zstring: '$$$avPageSizeStringPoints'),
zstring_width(zstring: '$$$avPageSizeStringPicas'),
zstring_width(zstring: '$$$avPageSizeStringMillimeters'),
zstring_width(zstring: '$$$avPageSizeStringCentimeters'),
zstring_width(zstring: '$$$avPageSizeStringInches'),
zstring_width(zstring: '$$$avPageSizeStringFeet'),
zstring_width(zstring: '$$$avPageSizeStringYards'),
zstring_width(zstring: '$$$avPageSizeStringMeters'),
zstring_width(zstring: '$$$avPageSizeStringKilometers'),
zstring_width(zstring: '$$$avPageSizeStringMiles'),
zstring_width(zstring: '$$$avPageSizeStringCustom'),
max_char_width()*10);
dialog(name: '$$$/Prefs/Grid', margin_height: 0, margin_width: 0)
{
view(align_children: align_left)
{
cluster(name: '$$$/Prefs/Grid/Units', dwidth: gPrefsPanelWidth, align_children: align_fill, item_id: 'cls1')
{
view(align_children: align_row)
{
view(align_children: align_right, width : gLeftColumnWidth)
{
static_text(item_id: 'tUni', name: '$$$/Prefs/Grid/PageAndRulerUnits');
}
view(align_children: align_left)
{
popup(item_id: 'Unit', width: gPopupWidth);
}
}
}
cluster(name: '$$$/Prefs/Grid', dwidth: gPrefsPanelWidth, align_children: align_fill, item_id: 'cls2')
{
view(align_children: align_row)
{
view(align_children: align_right, width : gLeftColumnWidth)
{
static_text(item_id: 'tWid', name: '$$$/Prefs/Grid/Width');
}
view(align_children: align_left)
{
edit_text(item_id: 'widt', SpinEdit: true, width: max_digit_width() * 8 + 16);
}
}
view(align_children: align_row)
{
view(align_children: align_right, width : gLeftColumnWidth)
{
static_text(item_id: 'tHig', name: '$$$/Prefs/Grid/Height');
}
view(align_children: align_left)
{
edit_text(item_id: 'higt', SpinEdit: true, width: max_digit_width() * 8 + 16);
}
}
view(align_children: align_row)
{
view(align_children: align_right, width : gLeftColumnWidth)
{
static_text(item_id: 'tHor', name: '$$$/Prefs/Grid/Horizontal');
}
view(align_children: align_left)
{
edit_text(item_id: 'horz', SpinEdit: true, width: max_digit_width() * 8 + 16);
}
}
view(align_children: align_row)
{
view(align_children: align_right, width : gLeftColumnWidth)
{
static_text(item_id: 'tVer', name: '$$$/Prefs/Grid/Vertical');
}
view(align_children: align_left)
{
edit_text(item_id: 'vert', SpinEdit: true, width: max_digit_width() * 8 + 16);
}
}
view(align_children: align_row)
{
view(align_children: align_right, width : gLeftColumnWidth)
{
static_text(item_id: 'tDiv', name: '$$$/Prefs/Grid/Subdivisions');
}
view(align_children: align_left)
{
edit_text(item_id: 'divs', SpinEdit: true, width: max_digit_width() * 8 + 16);
}
}
view(align_children: align_row)
{
view(align_children: align_right, width : gLeftColumnWidth)
{
static_text(item_id: 'tCol', name: '$$$/Prefs/Grid/Color');
}
view(align_children: align_left)
{
button(item_id: 'colr', picture: true, height: 20, width: 22);
}
}
}
cluster(name: '$$$/Prefs/Grid/Guides', dwidth: gPrefsPanelWidth, align_children: align_fill, item_id: 'cls3')
{
view(align_children: align_row)
{
view(align_children: align_right, width : gLeftColumnWidth)
{
static_text(item_id: 'tGcl', name: '$$$/Prefs/Grid/GuidesColor');
}
view(align_children: align_left)
{
button(item_id: 'gclr', picture: true, height: 20, width: 22);
}
}
}
}
}