Hi Nic, That helped a lot!
Now I'm only facing one problem. I can't measure the Caption width correctly, so my textfield is overlapping the end of the caption... http://monotouch.2284126.n4.nabble.com/file/n4343662/iOS_Simulator_-_iPhone_-_iOS_5.0_(9A334)_4.png Here's my code so far... http://pastebin.com/qdPjBU6g I tried measuring like this: cell.TextLabel.Text = Caption; SizeF captionSize = new SizeF (0, 0); captionSize = cell.TextLabel.StringSize (Caption, UIFont.FromName (cell.TextLabel.Font.Name, UIFont.LabelFontSize)); captionSize.Width += 10; float yOffset = (cell.ContentView.Bounds.Height - captionSize.Height) / 2 - 1; float width = cell.ContentView.Bounds.Width - captionSize.Width; entry = CreateTextField (new RectangleF (cell.ContentView.Bounds.Width - width, yOffset, width, captionSize.Height)); But that doesn't work ... eventhough there should be a space of 10 between the caption and the textfield. Any idea? Thanks! Mojo -- View this message in context: http://monotouch.2284126.n4.nabble.com/MT-Dialog-right-aligned-EntryElement-tp4341288p4343662.html Sent from the MonoTouch mailing list archive at Nabble.com. _______________________________________________ MonoTouch mailing list [email protected] http://lists.ximian.com/mailman/listinfo/monotouch
