如何更改功能区设计器中组的大小?

发布于 2024-09-28 19:01:42 字数 171 浏览 0 评论 0原文

我正在 Visual Studio 2010 中设计功能区,但遇到了一个我真的不明白的问题。

正如标题所示,如何更改组的大小?没有视觉方式可以更改默认大小,并且在使用时似乎会自动调整大小。

我的主要问题是,我想将标记为“测试”的按钮放置在编辑框的右侧,但它们不断相互重叠。

谢谢!

I'm designing a ribbon in Visual Studio 2010 and I have reached a problem, that I really don't get.

As the title says, how do I change the size of a group? There are no visual way to change the default size and it seems to auto-size when being used instead.

My main problem is that I want to position the button labeled "test" to the right of the edit box, but they keep on getting on top of eachother.

Thanks!

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

寂寞陪衬 2024-10-05 19:01:42

抱歉,您无法手动更改功能区组的大小,功能区组将始终根据其中的内容调整为特定大小,这在 Microsoft 的功能区指南文档中进行了概述,您可以查看 此处

如果您希望该按钮出现在组的右侧,则必须使用 1 个大按钮或 3 个小按钮填充组,然后才能让您进入组容器的右侧。

Sorry but you cannot manually change the size of Ribbon groups, ribbons groups will always adjust to a specific size based on content inside them, this is outlined in the Ribbon guidelines document by Microsoft which you can view here.

If you want that button to appear on the right side of the group then you will have to populate the groups with either 1 large button or 3 small buttons before it will let you onto the right side of the group container.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文