I think you need to set up the Frame of your UIView i.e.

UITextView txt = new UITextView(new RectangleF(0, 0, 200, 50));

There's no need to override IElementSizing.GetHeight as UIViewElement uses
UIView.Bounds.Height to determine this. 

--
View this message in context: 
http://monotouch.2284126.n4.nabble.com/How-to-use-MonoTouch-Dialog-UIViewElement-tp4483132p4483158.html
Sent from the MonoTouch mailing list archive at Nabble.com.
_______________________________________________
MonoTouch mailing list
[email protected]
http://lists.ximian.com/mailman/listinfo/monotouch

Reply via email to