>>>>> "Mark" == Mark Howard <mh...@ti...> writes:
Mark> On Fri, Oct 29, 2004 at 05:40:31PM +0200, Laurent Martelli
Mark> wrote:
>> Is there a way to prevent a ComboBox from expanding vertically ?
>> (Other than putting it in a VBox with expand = false).
Mark> What container do you have it in already? The packStart
Mark> parameters of the container it's already in will probably work
Mark> for this.
It's in an HBox:
hbox.packStart(combo,true,true,0);
I want it to expand horizontally but not vertically. With this, if
there's a component with a bigger height in the same HBox, the combo
will expand vertically.
I used the VBox trick that I mentioned earlier, so if nobody has
cleaner solution, never mind.
--
Laurent Martelli
la...@ao... Java Aspect Components
http://www.aopsys.com/ http://jac.objectweb.org
|