1.1 --- a/XSLForms/XSL/QtDesigner.xsl Sat Nov 05 01:45:28 2005 +0000
1.2 +++ b/XSLForms/XSL/QtDesigner.xsl Sat Nov 05 01:46:04 2005 +0000
1.3 @@ -52,7 +52,7 @@
1.4
1.5 <xsl:template match="grid">
1.6 <xsl:variable name="grid" select="."/>
1.7 - <table xmlns="http://www.w3.org/1999/xhtml">
1.8 + <table xmlns="http://www.w3.org/1999/xhtml" width="100%">
1.9 <!-- Get the row numbers in ascending order. -->
1.10 <xsl:for-each select="set:distinct($grid/*/@row)">
1.11 <xsl:sort select="." data-type="number" order="ascending"/>
1.12 @@ -77,7 +77,6 @@
1.13 <xsl:param name="last-column"/>
1.14 <xsl:param name="last-colspan">1</xsl:param>
1.15 <!-- Insert missing cells. -->
1.16 - <!-- NOTE: This does not handle rowspan usage. -->
1.17 <xsl:if test="$column != $last-column + $last-colspan">
1.18 <xsl:variable name="spanned-columns" select="$grid/*[$row > @row and @row + @rowspan > $row and @column > $last-column and $column > @column]/@column"/>
1.19 <xsl:choose>