Project

General

Profile

Defect #407

Need a way to set scroll bar policies

Added by Patrick Talbot over 12 years ago. Updated over 12 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
overall
Target version:
-
Start date:
01/12/2012
Due date:
% Done:

0%

Estimated time:
Browser (if web client):

Description

To ALWAYS, AS_NEEDED or NEVER

History

#1

Updated by Patrick Talbot over 12 years ago

  • Status changed from New to Closed

v1.5.11 now has various ways of achieving that:

1/ you can set defaultPreviewParameters,
var previewParams : { hScrollbar: PREVIEW.HSCROLLBAR_NEVER, vScrollbar: PREVIEW.VSCROLLBAR_NEVER };
plugins.VelocityReport.setDefaultPreviewParameters(previewParams);

2/ you can update the viewer after it has been initialized:
viewer.setHorizontalScrollbar(PREVIEW.HSCROLLBAR_NEVER);
viewer.setVerticalScrollbar(PREVIEW.VSCROLLBAR_NEVER);

see viewer methods and PREVIEW constants

Also available in: Atom PDF