home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Chip 2004 April
/
Chip_2004-04_cd2.bin
/
program
/
reader
/
Data1.cab
/
EScript.api
/
EXVW
/
5702
< prev
next >
Wrap
Text File
|
2003-07-17
|
2KB
|
50 lines
gMaxWidth=max(
zstring_width(zstring: '$$$/Dialogs/JSPrefs/Font'),
zstring_width(zstring: '$$$/Dialogs/JSPrefs/FontSize'));
dialog(name: '$$$/Dialogs/JSPrefs', margin_height: 0, margin_width: 0)
{
view(align_children: align_left, dheight: gPrefsPanelHeight, dwidth: gPrefsPanelWidth)
{
cluster(item_id: 'clu1', name: '$$$/Dialogs/JSPrefs/General', dwidth: gPrefsPanelWidth, align_children: align_left)
{
check_box(item_id: 'enab', name: '$$$/Dialogs/JSPrefs/Enable');
}
cluster(item_id: 'clu2', name: '$$$/Dialogs/JSPrefs/Editor', dwidth: gPrefsPanelWidth, align_children: align_left)
{
radio(item_id: 'rad1', name: '$$$/Dialogs/JSPrefs/Native');
view(align_children: align_row)
{
gap();
view(align_children: align_right, width : gMaxWidth)
{
static_text(name: '$$$/Dialogs/JSPrefs/Font');
}
view(align_children: align_left)
{
popup(item_id: 'font', width: max_char_width() * 18);
}
}
view(align_children: align_row)
{
gap();
view(align_children: align_right, width : gMaxWidth)
{
static_text(name: '$$$/Dialogs/JSPrefs/FontSize');
}
view(align_children: align_left)
{
edit_text(item_id: 'fsiz', width: max_char_width() * 3, PopupEdit: true, numeric: true);
}
}
radio(item_id: 'rad2', name: '$$$/Dialogs/JSPrefs/External');
view(align_children: align_row)
{
gap(width: 8);
edit_text(item_id: 'edit', width: max_char_width() * 25);
button(item_id: 'bttn', width: 5, name: '$$$/Dialogs/JSPrefs/Path');
}
}
}
}