Winform工具栏有“溢出”的间隙。设置为“true” [英] Winform toolbar has gaps with "overflow" set to to "true"
问题描述
我们有一个带有工具栏的Winform应用程序,工具栏上有许多工具栏按钮。
We have a Winform application with a toolbar which has many toolbar buttons.
由于它溢出,我们为所有图标设置了溢出为true。
Since it is overflowing, we had set overflow to true for all icons.
这样,移动应用程序并缩短宽度,创建一个溢出工具栏,其中的按钮不适合主工具栏。当越来越多的按钮进入这个溢出工具栏时,引入了很多差距。
With this, moving application and making width shorter, creates a overflow toolbar with the buttons that didn't fit to main toolbar. There is lot of gap introduced when more and more buttons comes to this overflow toolbar.
这在任何其他Microsoft或Windows应用程序中都看不到,所以我希望有一些事情需要解决这个问题。
This is not seen in any other Microsoft or windows application so I hope there is something that needs to be done to fix this.
Plz分享您的专业知识。
Plz share your expertise.
推荐答案
Hi DDora,
Hi DDora,
>>当越来越多的按钮到达此溢出工具栏时,引入了很多差距。
>>There is lot of gap introduced when more and more buttons comes to this overflow toolbar.
您能否提供有关此问题的更多说明?很抱歉,我无法理解您的意思" 介绍了很多差距
"。
Could you please provide more description for this issue? Sorry that I can not understand what you mean about "lot of gap introduced ".
我猜控你使用的是 toolStrip ,对吗?
And I guess the control what you used is toolStrip, right?
我尝试添加5个按钮并将溢出属性设置为总是,我不确定这是不是你的意思"我们已经为所有图标设置了溢出为真"。
I try to add 5 buttons and set the Overflow property to Always, I'm not sure if that is what you mean about "we had set overflow to true for all icons".
以下是我的测试:
希望您能为您的问题提供更多详细信息和一些屏幕截图。
Hope you can provide more details and some screenshots for your issue.
问候,
Stanly
这篇关于Winform工具栏有“溢出”的间隙。设置为“true”的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!