[Bug #1007] Vertical height parameter added to CutyCapt
FEA: ItEr74S04BugFixing
This commit is contained in:
parent
69e7a18f75
commit
692748ee5e
1 changed files with 6 additions and 0 deletions
|
|
@ -81,6 +81,7 @@ public class CutyPrint {
|
|||
private static int TASK_HEIGHT = 25;
|
||||
private static int PRINT_VERTICAL_PADDING = 50;
|
||||
|
||||
private static int PRINT_VERTICAL_SPACING = 160;
|
||||
|
||||
public static void print(Order order) {
|
||||
print("/planner/index.zul", entryPointForShowingOrder(order),
|
||||
|
|
@ -185,6 +186,11 @@ public class CutyPrint {
|
|||
minWidthForTaskNameColumn);
|
||||
captureString += " --min-width=" + plannerWidth;
|
||||
|
||||
int plannerHeight = (expanded ? planner.getAllTasksNumber() : planner
|
||||
.getTaskNumber()) * TASK_HEIGHT + PRINT_VERTICAL_SPACING;
|
||||
|
||||
captureString += " --min-height=" + plannerHeight;
|
||||
|
||||
// Static width and time delay parameters (FIX)
|
||||
|
||||
captureString += " --delay=" + CAPTURE_DELAY;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue