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.
Build 20080327 Both Fit Diagram and Fit Width toolbar button left quite a bit of space on the left side of the diagram editor. See attached screenshots for samples.
Created attachment 59326 [details] fit class diagram
Created attachment 59327 [details] fit sequence diagram
still exists in build 20080617
solution is to change visual library, currently Widget::private Rectangle calculatePreferredBounds always include 0-0 point into bounds. or fix require much more calculations in uml(copy all calculations from visual library and do not include 0-0).
http://hg.netbeans.org/uml-main/rev/4be212dc3ce3 fit diagram now exclude 0-0 scene point, but scrollbar may appear after fit. the same will be for fit width.
http://hg.netbeans.org/uml-main/rev/4e78f73e405f fixed for fit width
Integrated into 'main-golden', will be available in build *200809231435* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/4e78f73e405f User: sergeyp@netbeans.org Log: fix #131489 now fit to width and fit diagram works better, also fix arithmetic exception in fit width if diagram is empty
Reviewed
verified in build 20080925. much better now.