Re: [Gambas-user] Proper use of containers

2009-04-10 Thread Benoît Minisini
 That's what I've noticed.
 I really need it to arrange, and the only way I can manage that right
 now is to add other containers inside the frame control and resize
 these containers manually using the form_resize() event.

 But this really shouldn't be necessary.

 Will this be fixed?


Mmm. I think so, but in the development version only.

-- 
Benoît

--
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-com
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Proper use of containers

2009-04-08 Thread M0E Lnx
See attached project.

I think the problem is in the frame object. It doesn't resize it's
child objects.
Since the hbox inside the frame does not get resized, the hbox cannot
resize it's children objects.

--
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-com
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Proper use of containers

2009-04-08 Thread M0E Lnx
Whooops... forgot to actually attach the project 

Here it is now


nester-0.0.1.tar.gz
Description: GNU Zip compressed data
--
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-com___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Proper use of containers

2009-04-08 Thread Benoît Minisini
 See attached project.

 I think the problem is in the frame object. It doesn't resize it's
 child objects.
 Since the hbox inside the frame does not get resized, the hbox cannot
 resize it's children objects.


The Frame control is the only container that does not arrange its contents at 
all. Maybe it was not a good idea...

-- 
Benoît

--
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-com
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Proper use of containers

2009-04-07 Thread richard terry
On Wed, 8 Apr 2009 03:34:14 am M0E Lnx wrote:
 So I'm trying to put all my objects in containers for easy handling of
 window resizing, but I've ran into a problem.

 Here is the problem.

 Hpanel1 ( expand=true)

  |- Frame1 (expand=true)
  |
|- Hbox1 (expand=true)
|
  | - Textlabel1 (expand=true), |- Combobox1 (expand=true)

 the frame resizes just fine, which tells me the Hpanel is resizing fine.
 but the Hbox which is a child to Frame1 does not resize.
 I'm using gambas2-2.12.0
 My app uses gb.gtk

 I've noticed that when you use more than 2 containers, there are
 resizing issues.

 Has anyone seen this? or can anyone suggest a better
 approach?.
As always, send a mini program. I've encountered very few probalem with 
containers and the nest and and nest and nest and nest and nest. 

Please send some code so others can try it out.

ie zip your project or a sample from the menu and attatch the file.

Richard


 ---
--- This SF.net email is sponsored by:
 High Quality Requirements in a Collaborative Environment.
 Download a free trial of Rational Requirements Composer Now!
 http://p.sf.net/sfu/www-ibm-com
 ___
 Gambas-user mailing list
 Gambas-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/gambas-user



--
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-com
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user