我第一次尝试DCL。
有人知道如何将标有红色椭圆的文本居中吗?
- Number 001 : dialog {
- label = "Select Items";
- : column {
- : boxed_row {
- : boxed_column {
- label = "Entity";
- : button {
- key = "1";
- width = 18.0; // Set your width here
- fixed_width = true; // Set it as fixed width
- alignment = centered; // Center the list
- label = "Pick Entity:";
- is_default = false;
- }
- : button {
- key = "2";
- width = 18.0; // Set your width here
- fixed_width = true; // Set it as fixed width
- alignment = centered; // Center the list
- label = "Attributes";
- is_default = false;
- }
- }
- : boxed_column {
- label = "Layer";
- : button {
- key = "51";
- width = 18.0; // Set your width here
- fixed_width = true; // Set it as fixed width
- alignment = centered; // Center the list
- label = "Pick Layer";
- is_default = false;
- }
- : button {
- key = "52";
- width = 18.0; // Set your width here
- fixed_width = true; // Set it as fixed width
- alignment = centered; // Center the list
- label = "Attributes";
- is_default = false;
- }
- }
- }
- : boxed_row {
- : button {
- key = "cancel";
- width = 12.0; // Set your width here
- fixed_width = true; // Set it as fixed width
- alignment = centered; // Center the list
- label = "Cancel";
- is_default = true;
- is_cancel = true;
- }
- }
- }
- }
|