Thread: [Java-gnome-developer] Table doesn't expand when the parent is resized
Brought to you by:
afcowie
From: Thura <thu...@gm...> - 2009-09-26 09:12:43
|
I am writing a simple dialog. The code is here. http://pastebin.com/m3fae0ed3 The problem is when I resize the dialog, the table remain fixed, where it is supposed to expand or fill. Any clue ? Thura |
From: Thijs L. <xa...@gm...> - 2009-09-28 11:31:19
|
Heya, I think this is the correct behavior seeing tables is being added to the dialog without the ability to scale. I suggest using a VBox with nested HBox's to achieve that which you want. I never used table so I am not sure on its behavior in detail. Another reason why I suggest you to use VBox instead is that I see that when you scale the dialog the 'expander' gets to the middle of the open space. Which is another scaling issue that can be avoided with the use of a VBox. I hope this helps. Azania On Sat, Sep 26, 2009 at 11:12 AM, Thura <thu...@gm...> wrote: > I am writing a simple dialog. The code is here. > http://pastebin.com/m3fae0ed3 > The problem is when I resize the dialog, the table remain fixed, where it > is supposed to expand or fill. > Any clue ? > > Thura > > > > ------------------------------------------------------------------------------ > Come build with us! The BlackBerry® Developer Conference in SF, CA > is the only developer event you need to attend this year. Jumpstart your > developing skills, take BlackBerry mobile applications to market and stay > ahead of the curve. Join us from November 9-12, 2009. Register now! > http://p.sf.net/sfu/devconf > _______________________________________________ > java-gnome-developer mailing list > jav...@li... > https://lists.sourceforge.net/lists/listinfo/java-gnome-developer > > |
From: Thura <thu...@gm...> - 2009-09-28 12:42:46
|
On Mon, Sep 28, 2009 at 7:31 AM, Thijs Leibbrand <xa...@gm...> wrote: > Heya, > > I think this is the correct behavior seeing tables is being added to the > dialog without the ability to scale. I suggest using a VBox with nested > HBox's to achieve that which you want. I never used table so I am not sure > on its behavior in detail. > > Another reason why I suggest you to use VBox instead is that I see that > when you scale the dialog the 'expander' gets to the middle of the open > space. Which is another scaling issue that can be avoided with the use of a > VBox. > > I hope this helps. > > Azania > > On Sat, Sep 26, 2009 at 11:12 AM, Thura <thu...@gm...> wrote: > >> I am writing a simple dialog. The code is here. >> http://pastebin.com/m3fae0ed3 >> The problem is when I resize the dialog, the table remain fixed, where it >> is supposed to expand or fill. >> Any clue ? >> >> Thura >> >> >> >> ------------------------------------------------------------------------------ >> Come build with us! The BlackBerry® Developer Conference in SF, CA >> is the only developer event you need to attend this year. Jumpstart your >> developing skills, take BlackBerry mobile applications to market and stay >> ahead of the curve. Join us from November 9-12, 2009. Register >> now! >> http://p.sf.net/sfu/devconf >> _______________________________________________ >> java-gnome-developer mailing list >> jav...@li... >> https://lists.sourceforge.net/lists/listinfo/java-gnome-developer >> >> > The problem is I want the first column of each row, the labels, to have the same size ... How can I achieve this with nested vboxs and hboxs ? |
From: Andrew C. <an...@op...> - 2009-09-28 12:57:59
|
On Mon, 2009-09-28 at 08:41 -0400, Thura wrote: > The problem is I want the first column of each row, the labels, to > have the same size Use a SizeGroup. http://java-gnome.sourceforge.net/4.0/doc/api/org/gnome/gtk/SizeGroup.html AfC Sydney P.S. Please take the trouble to limit your quotations to the relevant part of the message you are replying to. It is a courtesy to the other people reading your messages. Thank you. -- Andrew Frederick Cowie Operational Dynamics is an operations and engineering consultancy focusing on IT strategy, organizational architecture, systems review, and effective procedures for change management: enabling successful deployment of mission critical information technology in enterprises, worldwide. http://www.operationaldynamics.com/ Sydney New York Toronto London |
From: Thura <thu...@gm...> - 2009-09-28 13:03:40
|
On Mon, Sep 28, 2009 at 8:41 AM, Thura <thu...@gm...> wrote: > > > On Mon, Sep 28, 2009 at 7:31 AM, Thijs Leibbrand <xa...@gm...>wrote: > >> Heya, >> >> I think this is the correct behavior seeing tables is being added to the >> dialog without the ability to scale. I suggest using a VBox with nested >> HBox's to achieve that which you want. I never used table so I am not sure >> on its behavior in detail. >> >> Another reason why I suggest you to use VBox instead is that I see that >> when you scale the dialog the 'expander' gets to the middle of the open >> space. Which is another scaling issue that can be avoided with the use of a >> VBox. >> >> I hope this helps. >> >> Azania >> >> On Sat, Sep 26, 2009 at 11:12 AM, Thura <thu...@gm...> wrote: >> >>> I am writing a simple dialog. The code is here. >>> http://pastebin.com/m3fae0ed3 >>> The problem is when I resize the dialog, the table remain fixed, where it >>> is supposed to expand or fill. >>> Any clue ? >>> >>> Thura >>> >>> >>> >>> ------------------------------------------------------------------------------ >>> Come build with us! The BlackBerry® Developer Conference in SF, CA >>> is the only developer event you need to attend this year. Jumpstart your >>> developing skills, take BlackBerry mobile applications to market and stay >>> ahead of the curve. Join us from November 9-12, 2009. Register >>> now! >>> http://p.sf.net/sfu/devconf >>> _______________________________________________ >>> java-gnome-developer mailing list >>> jav...@li... >>> https://lists.sourceforge.net/lists/listinfo/java-gnome-developer >>> >>> >> > The problem is I want the first column of each row, the labels, to have the > same size ... > How can I achieve this with nested vboxs and hboxs ? > > Ok, I got it ... Thanks |