-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I think I have a problem with the box layout, but am unsure.

I have a cairo texture and then horizontal box layout (which works fine)
and I pack them into a vertical box layout.

The clutter_cairo_texture I am defaulting to 10,10 but I would like it
to reallocated based on the size given to it by the box layout.

I'm doing this

tracker->vlayout = clutter_box_layout_new();
tracker->vcontainer = clutter_box_new(tracker->vlayout);
clutter_box_layout_set_pack_start(CLUTTER_BOX_LAYOUT(tracker->vlayout),
TRUE);
clutter_box_layout_set_vertical(CLUTTER_BOX_LAYOUT(tracker->vlayout), TRUE);

tracker->progress = clutter_cairo_texture_new(10,10);
clutter_box_layout_pack(CLUTTER_BOX_LAYOUT(tracker->vlayout),tracker->progress,TRUE,TRUE,TRUE,CLUTTER_BOX_ALIGNMENT_START,CLUTTER_BOX_ALIGNMENT_START);
clutter_box_layout_pack(CLUTTER_BOX_LAYOUT(tracker->vlayout),tracker->hcontainer,FALSE,TRUE,FALSE,CLUTTER_BOX_ALIGNMENT_START,CLUTTER_BOX_ALIGNMENT_START);

But the tracker->progress is never given all the extra space. Do I need
to put in another container in there or is there a better way to
initialize the texture.

Thanks,

Kevin
- -- 
Get my public GnuPG key from
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x7D0BD5D1
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/

iEYEARECAAYFAkuf/sAACgkQ6w2kMH0L1dGq/QCdFoJVvlp/Rpt9T9UakMYS9YN5
kPgAnA9Nogk/ZZr0PG5+nLSL7z+Lv68P
=+eeW
-----END PGP SIGNATURE-----
-- 
To unsubscribe send a mail to [email protected]

Reply via email to