CAD开发者社区

 找回密码
 立即注册

QQ登录

只需一步,快速开始

AutoCAD 2025 开发者帮助

关于调整图块之间的间距 (DCL)

2024-5-18 19:16| 发布者: admin| 查看: 21| 评论: 0|原作者: admin|来自: AutoCAD

关于调整图块之间的间距 (DCL)

默认情况下,位于列中的切片垂直分布,以利用所有可用空间。

如果相邻的两列在其图块占用的空间量上差异很大,则该列中需要较少空间的图块可能看起来分布得太远。将列的属性设置为将列中的切片限制为仅使用真正需要的空间量。这将改善对话框中磁贴的外观。fixed_heighttrue

下图显示了两列磁贴的结果以及该属性如何影响垂直磁贴分布:fixed_height

两个图中的列的属性都设置为 false,但右侧图中最右边的列除外。最右边的列的属性设置为 ,这会降低列的高度,使其足够大,以包含其定义中的切片。fixed_heightfixed_heighttrue

以下对话框定义表示右侧的插图:

sampleColumns : dialog {
  label = "Sample Columns Dialog Box";
  : row {
    : column {
      : button {
        key = "btn1";
        label = "Button1";
        is_default = true;
        fixed_width = true;
        height = 20;
      }
    }

    : column {
      fixed_height = true;
      alignment = top;
      
      : button {
        key = "btn2";
        label = "Button2";
        fixed_width = true;
      }
      : button {
        key = "btn3";
        label = "Button3";
        fixed_width = true;
      }
    }
  }
}

路过

雷人

握手

鲜花

鸡蛋

最新评论

QQ|Archiver|CAD开发者社区 ( 苏ICP备2022047690号-1 )

GMT+8, 2024-6-27 15:49

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

返回顶部