Reputation: 579
I'm building a toolbar in PyGTK and attaching a combo box to it. The result that I got is that the combo box stretches to fill all the vertical space available:
I have been trying every trick in the book that I can think of in order to avoid it, but I'm starting to admit that maybe it's just GTK style and I won't be able to get rid of it.
I can post some code but this should be quite simple to recreate. Any idea?
Upvotes: 0
Views: 491
Reputation:
Wrap the combobox in a gtk.Alignment
. You can create the latter with 0.5 vertical alignment to have the combobox centered vertically.
Upvotes: 2