RAD Studio – C++ Builder 11.3 / Delphi – Design View – Change form size without moving controls that are anchored?

huangapple go评论68阅读模式
英文:

RAD Studio - C++ Builder 11.3 / Delphi - Design View - Change form size without moving controls that are anchored?

问题

Sure, here's the translation of the text you provided:

有时候我需要调整对话框的大小以添加更多的控件。是否有内置的方法来调整大小,以便锚定的控件不会移动?类似按住某些键,比如Shift、Ctrl或Shift-Ctrl等,然后移动?而不是不得不为所有控件禁用右侧或底部的锚定,然后再次启用它们。

TIA!!

英文:

Sometimes I need to adjust the Dialog size to add more controls. Is there a built-in way to resize it so the anchored controls don't move as well. Something like hold some shift, ctrl or shift-ctrl, etc.. while moving? Instead of having to disable the right or bottom anchor for all the controls then enabling them again.

TIA!!

答案1

得分: 2

以下是翻译好的部分:

一种选择是不使用设计视图。右键单击表单,选择查看为文本或<kbd>Alt</kbd><kbd>F12</kbd>以在表单和文本视图之间切换并在那里修改尺寸。在文本视图中更改表单尺寸不会更新已锚定控件的位置。

英文:

One option is to not use design view. Right click the form and View as Text or <kbd>Alt</kbd><kbd>F12</kbd> to toggle between form and text view and modify dimensions there. Changing the form dimensions in text view does not update the position of anchored controls.

huangapple
  • 本文由 发表于 2023年5月7日 11:37:11
  • 转载请务必保留本文链接:https://go.coder-hub.com/76192086.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定