明经CAD社区

 找回密码
 注册

QQ登录

只需一步,快速开始

搜索
查看: 1446|回复: 2

[求助]怎么让对话框对齐?

[复制链接]
发表于 2009-4-12 23:27 | 显示全部楼层 |阅读模式

如图所示,如何让对话框对齐呢?不然太难看了

bom:dialog {
  label="参考选择";
  :boxed_radio_row{
     label="类型";
  :radio_button{label="板材";}
   :radio_button{label="管材";}
   :radio_button{label="锻件";}
   :radio_button{label="紧固件";}
   :radio_button{label="其它";}
   }
:row{
:column{
:list_box{
label="标准号";
key="ch_stand_list";
width=26;
height=8;}
:edit_box{key="ch_stand";}
}

 :column {
  :concatenation {
  
   :text_part {
     label="中文名称";
     width=26; }
   :text_part {
     label="英文名称";
     width=26; }  
    
  }
  :list_box {
   tabs="26 52";
    key="list1";
    width=54;
    height=8; }}

:column{
:list_box{
label="规格";
key="ch_size_list";
width=26;
height=8;}
:edit_box{key="ch_size";}
}
:column{
:list_box{
label="材料";
key="ch_materal_list";
width=26;
height=8;}
:edit_box{key="ch_materal";}
}
}

  
  spacer_1;
   :button {
   fixed_width=true;
   label="用户自定义数据";
   key="user_data"; }
  

 ok_cancel;
 }


图所示,怎么让两个框对齐呢?

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?注册

x
发表于 2009-4-13 09:50 | 显示全部楼层
  1. bom:dialog {
  2. label="参考选择";
  3. :boxed_radio_row{
  4.   label="类型";
  5.   :radio_button{label="板材";}
  6.   :radio_button{label="管材";}
  7.   :radio_button{label="锻件";}
  8.   :radio_button{label="紧固件";}
  9.   :radio_button{label="其它";}
  10. }
  11. :row{
  12.   :column{
  13.    :list_box{label="标准号";key="ch_stand_list";width=26;height=8;}
  14.    :edit_box{key="ch_stand";}
  15.   }
  16.   :column {
  17.    :text_part{label="中文名称                                      英文名称";}
  18.    :list_box {tabs="26 52";key="list1";width=54;height=8;}
  19.    spacer_1;
  20.    spacer_1;
  21.   }
  22.   :column{
  23.    :list_box{label="规格";key="ch_size_list";width=26;height=8;}
  24.    :edit_box{key="ch_size";}
  25.   }
  26.   :column{
  27.    :list_box{label="材料";key="ch_materal_list";width=26;height=8;}
  28.    :edit_box{key="ch_materal";}
  29.   }
  30. }
  31. spacer_1;
  32. :button {fixed_width=true;label="用户自定义数据";key="user_data";}
  33. ok_cancel;
  34. }
 楼主| 发表于 2009-4-13 12:07 | 显示全部楼层

谢谢版主!!!

非常感谢!!

您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|CAD论坛|CAD教程|CAD下载|联系我们|关于明经|明经通道 ( 粤ICP备05003914号 )  
©2000-2023 明经通道 版权所有 本站代码,在未取得本站及作者授权的情况下,不得用于商业用途

GMT+8, 2024-7-4 12:12 , Processed in 0.150184 second(s), 26 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表