[Gtk-sharp-list] Text input in drawing area

Michael Hutchinson m.j.hutchinson at gmail.com
Mon Jan 11 18:18:07 EST 2010


On Mon, Jan 11, 2010 at 5:43 PM, Andy Selvig <ajselvig at gmail.com> wrote:
> Using fixed layout is generally a bad idea when you're making GUI's. When
> you make a form that has a bunch of labels and text boxes you should
> definitely NOT use fixed layout since it makes your form intolerant to
> resizing and internationalization. In this case, using things like tables
> and HBox/VBox are the way to go.
> However, there are situations where having the ability to specify the
> coordinate position of a control relative to its parent is useful, and I
> think that your problem is one of them. It's a special case that goes
> outside of the normal use case for GUI toolkits.

It's perfectly possible to have a custom widget position a child entry
directly. You don't necessarily need the Fixed to do this for you.

-- 
Michael Hutchinson
http://mjhutchinson.com


More information about the Gtk-sharp-list mailing list