Have you set "AutoSizesSubviews" to TRUE? René
-----Ursprüngliche Nachricht----- Von: [email protected] [mailto:[email protected]] Im Auftrag von activa Gesendet: Samstag, 28. April 2012 19:46 An: [email protected] Betreff: [MonoTouch] UIViewAutoresizing behavior different in MonoTouch I've experienced something strange in MonoTouch when a subview is created like this: subView.AutoresizingMask = UIViewAutoresizing.FlexibleWidth|UIViewAutoresizing.FlexibleHeight When the Frame of the parent view is changed in code, the subview isn't resized immediately. For example: masterView.Frame = new RectangleF(...); RectangleF subFrame = masterView.subView.Frame; // at this point, subFrame is not changed accordingly This works just fine in Objective-C... Question: is this expected behavior? A bug? Or am I doing something wrong? -- View this message in context: http://monotouch.2284126.n4.nabble.com/UIViewAutoresizing-behavior-different -in-MonoTouch-tp4595053p4595053.html Sent from the MonoTouch mailing list archive at Nabble.com. _______________________________________________ MonoTouch mailing list [email protected] http://lists.ximian.com/mailman/listinfo/monotouch _______________________________________________ MonoTouch mailing list [email protected] http://lists.ximian.com/mailman/listinfo/monotouch
