[Java-gnome-developer] GtkTable x BorderLayout
Brought to you by:
afcowie
From: Fernando L. <fer...@lo...> - 2002-01-08 16:02:13
|
Hi there! First let me say that java-gnome binding rocks! Apps are much faster and are not more diffcult to build than using Swing. Thanks a lot. Now to the problems: after many tries, reading the sources, mailing list archieves and GTK+ docs, I cannot emulate the BorderLayout from Java. Let me say I am a newbie GTK+ developer, so please forgive me if this is a basic question. I tried to use a 3 x 2 (rows x cols) Table where only the middle cell will expand to the size of the container, all other cells shoud stay at their minimun or prefered sizes. But whatever I try I get cells larger than needed. Being more specific, using (left, right, top, botton): At (0,2,0,1) I have an HBox with entry fields and combo boxes At (0,1,1,2) I have an VBox to mimic with many buttons At (0,2,2,3) I have an HBox with some labels At (1,2,1,2) I have a list box (inside an scrooled window) Everything shoud be at the minimun size except for the list box I wish to take all space avaibale. But I allways get the VBox much larger than needed for his buttons. Tanks for any help, and thanks in advance. []s, Fernando Lozano |