DCL方框中心文本
我第一次尝试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;
}
}
}
} 不可能使用标准DCL。 哦
李。难怪我摆弄它不管用 唯一可能的是:
但那不是你想要的
gr.Rlx
这正是我想要的。
你是如何从上面的代码中编码的?
这是一个快速和肮脏的修复,但如果它工作4 U。。。
gr.Rlx
001.zip 你好
在标签名称前后添加相等数量的空格,使其看起来完全相同。 谢谢Rix和Tharwat,两种方法都很有效。我决定使用Rix方法,因为它看起来更精确。
不客气。我相信有第三方应用程序可以让你们更好地控制dcl,但它们不是免费的,当然更复杂。只是为了好玩,我有一次(好的两次)尝试了一种不同的方法
http://www.cadtutor.net/forum/showthread.php?93411-为交互式幻灯片程序绘制另一个示例
http://www.cadtutor.net/forum/showthread.php?93409-RlxIso绘制等距尺寸
但这对于你的需求来说可能有点极端。
Gr.Rlx 谢谢Rix,但我现在只了解DCL的感觉&了解它们如何将数据传递回lisp
页:
[1]
2