On Wed, Dec 12, 2007 at 03:42:30PM -0500, ron gage wrote:
> Just as I get my problem with screen size fixed, another one creeps in and 
> messes with me.
> 
> If I create any UI object, a button, a label, whatever, and place it on the 
> main window, it automatically scales up to fill the entire window.  The 
> killer here is that the objects are ignoring explicit sizing commands 
> (gtk_widget_set_usize).
> 
> Anyone have any suggestions here?

gtk_widget_set_usize() is deprecated so you should not be using it,
and as you noticed it won't accomplish what you want anyway.  Widgets'
size allocations depend on the container they're in. If you want to
have a single small button centered on the window for example use
GtkAlignment with x/yalign=0.5 and x/yscale=0.0.

-- 
Ville Syrjälä
[EMAIL PROTECTED]
http://www.sci.fi/~syrjala/

_______________________________________________
directfb-dev mailing list
directfb-dev@directfb.org
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev

Reply via email to