Fix label parsing and creation issues.

- Parse rotate attribute of Objects node.
- Create proper page size when creating template.
This commit is contained in:
Jim Evins
2017-04-22 00:14:51 -04:00
parent 42b1744901
commit 02630aec19
3 changed files with 10 additions and 1 deletions
+1 -1
View File
@@ -87,7 +87,7 @@ namespace glabels
if ( tmplate->isSizeOther() )
{
XmlUtil::setLengthAttr( node, "width", tmplate->pageWidth() );
XmlUtil::setLengthAttr( node, "height", tmplate->pageWidth() );
XmlUtil::setLengthAttr( node, "height", tmplate->pageHeight() );
}