Hi Nic, Well I already tried what you said. I copied the EntryElement code and replaced all EntryElement to MojoEntryElement.
I added these two lines: entry.TextAlignment = UITextAlignment.Right; entry.BackgroundColor = UIColor.Red; (Red just for debug) And here's the result: http://monotouch.2284126.n4.nabble.com/file/n4341467/iOS_Simulator.png First I need the width to be cell width minus the caption width. Second, the TextElement position is jumping around (as seen in the image). I hoped I could do something like .... var size = tv.StringSize (base.Caption, font); float entryWidth = tv.Frame.Width - size.Width; entry = CreateTextField (new RectangleF (tv.Frame.Width - entryWidth + 10, yOffset, entryWidth - 110, size.Height)); But it still doesn't work. So I hoped that somebody already made a right aligned entryelement and I could examine his code. :) Thanks. Mojo -- View this message in context: http://monotouch.2284126.n4.nabble.com/MT-Dialog-right-aligned-EntryElement-tp4341288p4341467.html Sent from the MonoTouch mailing list archive at Nabble.com. _______________________________________________ MonoTouch mailing list [email protected] http://lists.ximian.com/mailman/listinfo/monotouch
