Table doesn't expand when the parent is resized

View: New views
5 Messages — Rating Filter:   Alert me  

Table doesn't expand when the parent is resized

by thura :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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
java-gnome-developer@...
https://lists.sourceforge.net/lists/listinfo/java-gnome-developer

Re: Table doesn't expand when the parent is resized

by Thijs Leibbrand :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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 <thurahlaing06@...> 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&reg; 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&#45;12, 2009. Register now&#33;
http://p.sf.net/sfu/devconf
_______________________________________________
java-gnome-developer mailing list
java-gnome-developer@...
https://lists.sourceforge.net/lists/listinfo/java-gnome-developer



------------------------------------------------------------------------------
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
java-gnome-developer@...
https://lists.sourceforge.net/lists/listinfo/java-gnome-developer

Re: Table doesn't expand when the parent is resized

by thura :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message



On Mon, Sep 28, 2009 at 7:31 AM, Thijs Leibbrand <xavalia@...> 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 <thurahlaing06@...> 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&reg; 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&#45;12, 2009. Register now&#33;
http://p.sf.net/sfu/devconf
_______________________________________________
java-gnome-developer mailing list
java-gnome-developer@...
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 ?


------------------------------------------------------------------------------
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
java-gnome-developer@...
https://lists.sourceforge.net/lists/listinfo/java-gnome-developer

Re: Table doesn't expand when the parent is resized

by Andrew Cowie :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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


------------------------------------------------------------------------------
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
java-gnome-developer@...
https://lists.sourceforge.net/lists/listinfo/java-gnome-developer

signature.asc (204 bytes) Download Attachment

Re: Table doesn't expand when the parent is resized

by thura :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message



On Mon, Sep 28, 2009 at 8:41 AM, Thura <thurahlaing06@...> wrote:


On Mon, Sep 28, 2009 at 7:31 AM, Thijs Leibbrand <xavalia@...> 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 <thurahlaing06@...> 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&reg; 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&#45;12, 2009. Register now&#33;
http://p.sf.net/sfu/devconf
_______________________________________________
java-gnome-developer mailing list
java-gnome-developer@...
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

------------------------------------------------------------------------------
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
java-gnome-developer@...
https://lists.sourceforge.net/lists/listinfo/java-gnome-developer