DCL - text and listbox sizing
Posted: Wed Dec 20, 2023 2:59 am
I'm working on a small module for the HVAC coding .
For some reason I cannot reduce the height of the swept angle list box, is there a minimum value??
Also, I wanted to make the title text BOLD, but failed.
Code below,
(note I have had to remove a number of ':' in the code as the website does not like them !!!!!)
Also, I wanted to make the title text BOLD, but failed.
Code below,
(note I have had to remove a number of ':' in the code as the website does not like them !!!!!)
Code: Select all
CDUCTE : dialog {
label = "Cylindrical Duct Elbow Dimensions";
edit_box {
label = "&Internal Diameter Ø (mm)";
is_bold= true;
key = "ID1";
edit_width = 5;
allow_accept = true;
}
edit_box {
label = "&Wall Thickness (mm)";
key = "WT1";
edit_width = 5;
allow_accept = true;
}
edit_box {
label = "&Center Line Radius (mm)";
key = "CL1";
edit_width = 5;
allow_accept = true;
}
//
row {
column {
text { label = "Swept Angle"; width = 15;}
}
column {
list_box {
width = 5.5;
height = 2;
fixed_height = true;
key = "AG1";
}
}
}
//
ok_cancel ;
text_part {
label = "Designed and Created";
}
text_part {
label = "by Steve Nichols";
}
}