Re: [MonoTouch] Monotouch.Dialog.MessageElement not full height the first time it is displayed

2012-04-30 Thread Felix Collins
Simulator is 5.0. iPad is 5.1. -- View this message in context: http://monotouch.2284126.n4.nabble.com/Monotouch-Dialog-MessageElement-not-full-height-the-first-time-it-is-displayed-tp4597150p4599515.html Sent from the MonoTouch mailing list archive at Nabble.com.

Re: [MonoTouch] Monotouch.Dialog.MessageElement not full height the first time it is displayed

2012-04-30 Thread Felix Collins
Ok, I think I have it figured out. In the constructor of my DialogViewController inheritor I was doing something like... Root = new RootElement(Root Element); Root.UnevenRows = true; The trouble with this is that the DialogViewController never sees the UnevenRows set. I changed it to...

[MonoTouch] Monotouch.Dialog.MessageElement not full height the first time it is displayed

2012-04-29 Thread Felix Collins
I have a weird problem with a list of message elements running on the simulator. The first time that a DialogViewController with message elements is shown they appear not to size to the correct height (see pic below). If I navigate away and back to the view or to a different view with message

Re: [MonoTouch] Monotouch.Dialog.MessageElement not full height the first time it is displayed

2012-04-29 Thread Craig Dunn
Hey Felix, From memory MT.D custom element sizing can be done two ways - implementing IElementSizing on the Element (which I am assuming what is happening here, as MessageElement is built-in) OR implementing CreateSizingSource on the DialogViewController subclass and returning something that