John Denker wrote:
> Andy Ross wrote:
> > Here's the problem.  You're giving your dialog a fixed size, then
> > asking it to display something that doesn't quite fit.
>
> On my syste, with the default style, it should fit with room left
> over.  The working version makes this particularly clear.
>
> Why do you say it doesn't quite fit?

Because I ran layout-test and watch it shrinking the size of the
columns, then wondered why and discovered that you are giving the
dialog an explicit size.  That's just plain wrong in a layout dialog,
unless you are attempting to do something fancy.  An explicit width
means "make the dialog exactly this big".  If you happen to give your
table more content than it can fit, it takes the difference and
subtracts it equally from each column.

The "working" version just happens to look better because of the
details of your layout; the extra width gets sunk into columns that
happen not to need it, instead of spread evenly across the colspan
range.  The table code doesn't understand any of that and just shrinks
all columns equally.  Had you picked different strings to put in those
columns, it might have looked equally bad or worse.

Have you actually tried removing those two lines yet?  I promise you
it works.

Andy

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Flightgear-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to