John Denker wrote:
> Compare:
>    http://www.av8n.com/fly/fgfs/weather.xmlworks
>    http://www.av8n.com/fly/fgfs/weather.xmlbroken
>
> The difference between them is simple, and is attached below.
> The working file contains a working colspan.  The broken
> file contains a second colspan that significantly distorts
> the table.

Here's the problem.  You're giving your dialog a fixed size, then
asking it to display something that doesn't quite fit.  So it's
shrinking the columns evenly, and things look wrong:

>   <!-- Control the weather -->
>
>   <name>weather</name>
>   <width>840</width>
>   <height>570</height>

Putting one word in each column only happens looks better because of
the details of your layout and the length of your strings.  Let the
layout manager pick the size, that's what it's there for.  Just remove
the width and height lines and all will be well.

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