RE: [Pgui-devel] Q: Layout Management

2001-08-29 Thread Sean Barnes
D]]On Behalf Of Micah Dowty > Sent: Wednesday, August 29, 2001 7:26 PM > To: kitkat > Cc: [EMAIL PROTECTED] > Subject: Re: [Pgui-devel] Q: Layout Management > > > Yep, PG_SZMODE_PERCENT always takes a percent of the actual > available space. > There is another size mo

Re: [Pgui-devel] Q: Layout Management

2001-08-29 Thread Micah Dowty
Yep, PG_SZMODE_PERCENT always takes a percent of the actual available space. There is another size mode designed to do exactly what you need: PG_SZMODE_CNTFRACT takes the size as a fraction of the total container size. The fraction is formed using the pgFraction(n,d) macro where n is the numerator

[Pgui-devel] Q: Layout Management

2001-08-29 Thread kitkat
Hi folks, I've some trouble with layoutmanagement for a more complex Dialog. I'm using the percent-sizemode and I've notized that each new created widget takes a percentage of the actual available space and not of the whole container space it's located in. So it's realy hard to divide a container