I realise I wasn' t too clear in my mail. The thing is, I have a window with essentially 3 boxes:
A B C A = image B = labels C = text entry The height of B (and C for that matter) is smaller than that of A. But I would like to resize A to the height of C. On 8/22/05, Tristan Van Berkom <[EMAIL PROTECTED]> wrote: > LaundroMat wrote: > > Hi all - > > > > First time here, thanks for having a look at this. > > > > I have a window, consisting of a horizontal box, with 3 vboxes in it. > > One vbox contains an image, another a set of labels and the third has > > text entry widgets. > > > > How can I resize the image to the unexpanded size of the vboxes > > containing the labels & the text entry widgets? If this is at all > > possible, ofcourse. The way things are now is that I have the full > > size image on the left, with the labels & textentries either > > vertically spread out, or simply plastered to the top of the window. > > > > I'd rather have an eventbox surrounding the image (so that clicking > > will open a full-size view), and the image cropped/resized to the size > > of the 2nd and 3rd box. > > > > (I'm using Python, by the way). > > Maybe I'm misunderstanding your question but I think that > you need to play with the child properties of GtkBox, if you > want the image to stay its original size you should set > the "expand" child property to false (for example). > > (See api docs on GtkBox for more...) > > Cheers, > -Tristan > _______________________________________________ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list