Hi,
I have a gridbagsizer with a number of rows, each having a number of
cells.
$grid = Wx::GridBagSizer->new( $gaps, $gaps );
$grid->AddGrowableCol( $_, 1 ) for 0 .. $cols-1;
$grid->AddGrowableRow( $_, 1 ) for 0 .. $rows-1;
Later, the cells are filled with panels with contents
Mattia Barbon writes:
>Have you already looked at the methods inherited from
> FilexGridSizer? From the description, SetFlexibleDirection and
> SetNonFlexibleGrowMode should do what you need (but I haven't tried
> them).
Seems that setting the proportion argument to AddGrowableCol to
nonzero
[Quoting Mattia Barbon, on November 20 2009, 21:19, in "Re: Column widths in"]
> > For example, in http:/www.squirrel.nl/pub/xfer/nov2009.png I would
> > like to have all columns of equal width.
>
>Have you already looked at the methods inherited from FilexGridSizer?
> From the description,
Johan Vromans wrote:
Hi,
Using a GridBagSizer, is there a way to have all rows and columns of
the same height/width?
For example, in http:/www.squirrel.nl/pub/xfer/nov2009.png I would
like to have all columns of equal width.
Have you already looked at the methods inherited from
Hi,
Using a GridBagSizer, is there a way to have all rows and columns of
the same height/width?
For example, in http:/www.squirrel.nl/pub/xfer/nov2009.png I would
like to have all columns of equal width.
-- Johan
Hi Mattia,
Thanks, spot on.
Regards
Steve
-Original Message-
From: Mattia Barbon [mailto:mattia.bar...@libero.it]
Sent: 17 August 2009 16:28
To: Steve Cookson
Cc: wxperl-users@perl.org
Subject: Re: FW: GridBagSizer
Steve Cookson wrote:
> Actually, maybe I got that question wr
Steve Cookson wrote:
Actually, maybe I got that question wrong.
Really its wxGBPosition, that is failing.
"Undefined subroutine wxGBPosition called at .."
Regards
Maybe you want Wx::GBPosition->new( ... ) instead of
wxGBPosition( ... ) ?
HTH
Mattia
rl.org'
Subject: GridBagSizer
Hi Does anyone use the GridBagSizer sizer type?
If so what is the 'use' file name? I can't seem to find it.
Regards
Steve
<>
Hi Does anyone use the GridBagSizer sizer type?
If so what is the 'use' file name? I can't seem to find it.
Regards
Steve
<>