I don't see where MyImageStringElement would be used in your example and that 
probably explains why your method doesn't get called.

René

Am 15.08.2012 um 13:23 schrieb Andreas Ploetzeneder <[email protected]>:

> public class MyImageStringElement : StringElement, IElementSizing {
> 
> 
> public virtual float GetHeight (UITableView tableView, NSIndexPath indexPath)
> 
> {
> System.Diagnostics.Debug.WriteLine("juhu");
> return 500;
> }
> 
> ......
> 
> 
> }
> 
> GetHeight is never called in this implementation:
> 
> 
> 
> 
> 
> public partial class MyTestControllerDialog : DialogViewController
> 
> {
> 
> Section suchsection;
> 
> public MyTestControllerDialog () : base (UITableViewStyle.Grouped,null,true)
> 
> {
> 
> suchsection= new Section ("Suchergebnisse"){
> 
> } ;
> 
> Root = new RootElement ("SearchControllerDialog") {
> 
> suchsection,
> 
> } ;
> 
> }
> 
> 
> 
> I am using MOnotouch.dialog, newest version from GIT; has anybody got an idea?
> 
> 
> 
> 
> _______________________________________________
> MonoTouch mailing list
> [email protected]
> http://lists.ximian.com/mailman/listinfo/monotouch

_______________________________________________
MonoTouch mailing list
[email protected]
http://lists.ximian.com/mailman/listinfo/monotouch

Reply via email to