Skip to content

Commit 14b09eb

Browse files
committed
fix week event vertical overflow
1 parent f0d35f9 commit 14b09eb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

WEB-INF/src/com/dhtmlx/scheduler/PDFWriter.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -894,7 +894,7 @@ private void weekEventsDraw() throws Exception {
894894
double body_text_x = this.cellOffset;
895895
double body_text_y = this.weekEventHeaderHeight;
896896
this.f1.setSize(7.4);
897-
TextBox bodyTxt = new TextBox(f1, text, width - 2, height, 0, 1);
897+
TextBox bodyTxt = new TextBox(f1, text, width - 2, height - this.weekEventHeaderHeight, 0, 1);
898898
bodyTxt.setPosition(x + body_text_x, y + body_text_y);
899899
bodyTxt.setDrawBackground(false);
900900
bodyTxt.setNoBorders();

0 commit comments

Comments
 (0)