明经CAD社区

 找回密码
 注册

QQ登录

只需一步,快速开始

搜索
查看: 688|回复: 2

[提问] 求大神帮忙dcl

[复制链接]
发表于 2022-3-2 10:34:13 | 显示全部楼层 |阅读模式
本帖最后由 jiangdongguo 于 2022-3-2 10:46 编辑

为什么image_button这个控件它会固定不了高度呀,总是根据左边高度自己调整高度

dcl:dialog{
          label="AutoCAD绘图比例系数设定";
:boxed_row{
               :boxed_column{
                label="参数设置";
                children_alignment=right;
                children_fixed_height=ture;
               :edit_box{label="绘图比列1:"; key="edit_bl";edit_width=5;allow_accept=true;}
               :edit_box{label="字体:"; key="edit_zt";edit_width=5;allow_accept=true;}
               :edit_box{label="缆线宽度:"; key="edit_kd";edit_width=5;allow_accept=true;}
               :edit_box{label="缆线宽度:"; key="edit_1";edit_width=5;allow_accept=true;}
               :edit_box{label="缆线宽度:"; key="edit_2";edit_width=5;allow_accept=true;}
               :edit_box{label="缆线宽度:"; key="edit_3";edit_width=5;allow_accept=true;}
               :edit_box{label="缆线宽度:"; key="edit_4";edit_width=5;allow_accept=true;}
               :edit_box{label="缆线宽度:"; key="edit_5";edit_width=5;allow_accept=true;}
               }

                  :column{
                label="图例选择";
                :row{
children_alignment=top;
                                   children_fixed_heigth=ture;
                                    children_fixed_width=ture;
                :image_button{
                                    key="cyh_b00001";
                                    color=-2;
                                    width=12;
                                    heigth=8;
                                    fixed_heigth=ture;
                                    fixed_width=ture;
                                    allow_accept=true;
alignment=top;
                                        }

                            }
             }

          }
ok_cancel;}

本帖子中包含更多资源

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

x
发表于 2022-3-6 20:39:00 | 显示全部楼层
:image_button{
                key="cyh_b00001";
                color=-2;
                width=12;
                fixed_heigth=ture;
                fixed_width=ture;
                aspect_ratio =0.66;
                allow_accept=true;
                alignment=top;
                }
这样试一下
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2024-9-29 17:34 , Processed in 0.162172 second(s), 25 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

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