When viewing a PS file and after zooming in or out the
scrollbars do not update or resize accordingly.
Work-around was done by adding the following:
In PostScriptPane.java:setScale:
public void setScale(float scale) {
device.setScale(scale);
Enumeration e = pages.elements();
while (e.hasMoreElements()) {
PagePane pagePane = (PagePane) e.nextElement();
pagePane.updatePageScale(scale);
/**
* UPDATE: 8/19/2005
*
* ADDED TO FIX SCALING NOT UPDATING SCROLLBAR
*/
doLayout();
fireViewResizeEvent();
}
validate();
}
Without digging any deeper this was the quickest fix.
Perhaps a more thorough fix is due, perhaps not, I have
not looked into this very much.
Logged In: YES
user_id=1103862
This issue is fixed in another bug. Please apply the
attached diff...
Fixes.diff