All right, but I can't use PackStart from the window.

Here's my code

public MyWindow () : base ("MyWindow")
   {
       this.SetDefaultSize (400, 300);
       Button btn = new Button("Click me");
       btn.Clicked += new EventHandler(btn_click);
       btn.SetSizeRequest(50,50);
       this.Add(btn);

Mariano Benedettini wrote:

See the fill and expand properties:

http://www.go-mono.com/docs/[EMAIL PROTECTED]

If you are using Glade, just uncheck the options at design time.

Mariano.


_______________________________________________
Gtk-sharp-list maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/gtk-sharp-list

Reply via email to