mono / xwt

A cross-platform UI toolkit for creating desktop applications with .NET and Mono
MIT License
1.36k stars 241 forks source link

TextEntry hight and multiline not working, gtk3 backend #633

Open ibilon opened 7 years ago

ibilon commented 7 years ago

I'm trying to display a TextEntry with multiple lines but it doesn't work and also stays at the default size.

I tried the sample code from https://github.com/mono/xwt/blob/master/TestApps/Samples/Samples/TextEntries.cs (my entire file https://gist.github.com/ibilon/bc2a49c6160e29dae1e3884189e3019e)

I'm on linux, compiled with mcs /reference:Xwt.dll Test.cs, mono version is 4.2.0 and gtk 3.5.4 and using latest git of xwt (f981e414c3bfee29f5dc508cd099be9b67e0bc9e)

This is the result I get: textentry

ibilon commented 7 years ago

Seems to work on windows/wpf: pasted_image_at_2017_02_02_07_55_pm

sevoku commented 7 years ago

Related/Dup: #375