如何更改功能区设计器中组的大小?
我正在 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 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
抱歉,您无法手动更改功能区组的大小,功能区组将始终根据其中的内容调整为特定大小,这在 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.