dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #10965
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 3030: Made pdf table in pdf grid result wider
------------------------------------------------------------
revno: 3030
committer: Lars Helge Overland <larshelge@xxxxxxxxx>
branch nick: dhis2
timestamp: Mon 2011-03-14 20:46:46 +0100
message:
Made pdf table in pdf grid result wider
modified:
dhis-2/dhis-web/dhis-web-commons/src/main/java/org/hisp/dhis/result/GridPdfResult.java
--
lp:dhis2
https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk
Your team DHIS 2 developers is subscribed to branch lp:dhis2.
To unsubscribe from this branch go to https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk/+edit-subscription
=== modified file 'dhis-2/dhis-web/dhis-web-commons/src/main/java/org/hisp/dhis/result/GridPdfResult.java'
--- dhis-2/dhis-web/dhis-web-commons/src/main/java/org/hisp/dhis/result/GridPdfResult.java 2011-03-14 19:36:08 +0000
+++ dhis-2/dhis-web/dhis-web-commons/src/main/java/org/hisp/dhis/result/GridPdfResult.java 2011-03-14 19:46:46 +0000
@@ -102,6 +102,7 @@
PdfPTable table = new PdfPTable( grid.getVisibleWidth() );
table.setHeaderRows( 1 );
+ table.setWidthPercentage( 100f );
//TODO make wider
table.addCell( getTitleCell( grid.getTitle(), grid.getVisibleWidth() ) );