[Gtk-sharp-list] Gtk# 2.99.0 released!
curtis.wensley at gmail.com
Thu Feb 21 22:28:55 UTC 2013
> 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:
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?
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.
More information about the Gtk-sharp-list