[Mono-dev] Gtk# Search codes and tutorials
Miguel de Icaza
miguel at novell.com
Mon Aug 27 12:23:57 EDT 2007
> [code]
> Nom = new Gtk.Label("Nom");
> Entry_nom = new Gtk.Entry();
> Gtk.Label spacer1 = new Gtk.Label(" ");
> Gtk.Label spacer2 = new Gtk.Label(" ");
> hBox1.PackStart(spacer1,false,false,20);
> hBox1.PackStart(Nom,false,false,2);
> hBox1.PackStart(Entry_nom,false,false,2);
> hBox1.PackStart (spacer2,false,false,37);
> [/code]
You really should not be using labels as spacers, you should use padding
(that you can control on the boxes) and alignments.
More information about the Mono-devel-list
mailing list