如何使两个按钮具有完全相同的高度和宽度使用VC ++中的Dialog Editor?

时间:2020-12-16 14:02:47

It seems that we can only align buttons, using Align Lefts and Align Tops menu items after right-clicking selected buttons.

看来我们只能在右键单击所选按钮后使用“对齐左手”和“对齐顶部”菜单项来对齐按钮。

I know that copying a existing button would produce a new one with exactly the same size. However, sometimes I need to make two or more existing buttons in the Dialog Editor have the same size.

我知道复制现有按钮会产生一个大小完全相同的新按钮。但是,有时我需要在对话框编辑器中使两个或更多现有按钮具有相同的大小。

1 个解决方案

#1


Find the button width and button height properties in the properties window and set them to the values that you want.

在属性窗口中找到按钮宽度和按钮高度属性,并将它们设置为所需的值。

#1


Find the button width and button height properties in the properties window and set them to the values that you want.

在属性窗口中找到按钮宽度和按钮高度属性,并将它们设置为所需的值。