开发者

How to prevent Mono from stretching the windows in a WinForms application vertically (on linux)?

The title is quite descriptive I think. My Winforms applications are running on Mo开发者_JAVA技巧no but there is an annoying problem: all my windows in the application are stretched vertically about 1.5 times. So my square shaped buttons and windows become rectangles. Only the sizes are scretched font sizes are not. So there are big gaps in the layout.

Does anyone have ideas how to fix this? Is it bug in Mono?


This is generally due to autoscaling:

http://www.mono-project.com/FAQ:_Winforms#My_forms_are_sized_improperly

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜