Not exactly what comes to mind when I think of "widget", but it works. Thanks.
Jon Andrew York wrote: > I believe this should be accomplished in the parent container, using the > Gtk.Alignment widget in the table cell and then putting the textbox in > the Gtk.Alignment widget. > > I hope this helps > Andy > > Jon Cosby wrote: >> There seem to be three ways to align text in an Entry (Alignment, >> Position, Xalign) but nothing that aligns the widget itself. I have >> >> trackEntry = new Entry(); >> trackEntry.WidthRequest = 90; >> trackEntry.HeightRequest = 30; >> trackEntry.Xalign = 0; >> table1.Attach(trackEntry, 1, 2, 4, 5, AttachOptions.Shrink, >> AttachOptions.Shrink, 1, 1); >> trackEntry.Show(); >> >> but the Entry widget is center-aligned. It only seems to effect the >> cursor/text. I've also looked at Position but that doesn't make any >> difference. Any suggestions? >> >> >> Jon Cosby >> _______________________________________________ >> Gtk-sharp-list maillist - [email protected] >> http://lists.ximian.com/mailman/listinfo/gtk-sharp-list >> > > > > _______________________________________________ Gtk-sharp-list maillist - [email protected] http://lists.ximian.com/mailman/listinfo/gtk-sharp-list
