This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Summary: | default print preview includes 4 pages for a small single-page uml diagrams | ||
---|---|---|---|
Product: | uml | Reporter: | Peter Lam <petersl> |
Component: | General | Assignee: | issues@uml <issues> |
Status: | NEW --- | ||
Severity: | blocker | ||
Priority: | P3 | ||
Version: | 6.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: | default print preview layout |
Description
Peter Lam
2008-07-31 22:38:43 UTC
Created attachment 66228 [details]
default print preview layout
The problem is not in print/preview. The printable component has too big dimension while real image is less. It leads to the extra pages. To fix this issue, the component should indicates real size via "print.size" property. See example: putClientProperty("print.printable", Boolean.TRUE); // NOI18N putClientProperty("print.size", new java.awt.Dimension(width, height)); // NOI18N where width x height is real size. Reassign to the UML team... |