开发者

Mono and winforms control height issue

开发者 https://www.devze.com 2023-01-04 14:57 出处:网络
I have been testing my .NET windows applications with Mono on Ubuntu and noticed that my controls are always stretch开发者_运维技巧ed in height.Width wise appears to be fine.I have a stack of 5 combob

I have been testing my .NET windows applications with Mono on Ubuntu and noticed that my controls are always stretch开发者_运维技巧ed in height. Width wise appears to be fine. I have a stack of 5 comboboxes that fit nicely within a panel, but with Mono on Ubuntu the comboxes are too tall and the last comboxbox is pushed into the boundary of the panel. Anybody know why this is happening?


You can check and see if you are using AutoScaling by accident:

http://www.mono-project.com/FAQ:_WinForms

Or someone pointed me to a really weird cause of this a couple of days ago, having Thai fonts installed on Ubuntu:

https://bugs.launchpad.net/ubuntu/+source/fontconfig/+bug/539008

0

精彩评论

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

关注公众号