Bertrand-2 wrote
> Unless I'm missing something, I think you can already do what you want
> with the SetSizeRequest method:
> 
> Control.SetSizeRequest (MinimumSize.Width, MinimumSize.Height);
> 
> See there for the docs for the corresponding C function:
> http://developer.gnome.org/gtk3/stable/GtkWidget.html#gtk-widget-set-size-request

The problem with that, is it will set the control's size to that size, which
might be different from its minimum size.

For example, say I want to set the initial size of a control to 100x100 (by
using SetSizeRequest), but don't want it to shrink to less than 50x50.. how
would I do that?

Thanks!
Curtis.




--
View this message in context: 
http://mono.1490590.n4.nabble.com/Gtk-2-99-0-released-tp4657077p4658701.html
Sent from the Mono - Gtk# mailing list archive at Nabble.com.
_______________________________________________
Gtk-sharp-list maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/gtk-sharp-list

Reply via email to