Policy file - scroll bar?

Questions and comments about currently under development PWB v3

Moderators: Tyler, Scott

Post Reply
jsand
Participant
Participant
Posts: 17
Joined: Sat May 20, 2006 11:11 am

Policy file - scroll bar?

Post by jsand »

Is there a way to put a vertical scroll bar back on the Policy dialog window, like there used to be in v2? Our network usage policy is longer than would fit on the screen even if I expand the window significantly. Thanks.

Scott
Site Admin
Site Admin
Posts: 2527
Joined: Mon Dec 16, 2002 12:31 pm
Location: Rochester, MN
Contact:

Re: Policy file - scroll bar?

Post by Scott »

All the secondary dialogs in PWB v3 are web views that use HTML instead of text files that were used in PWB v2. Change your policy file to HTML and it should automatically allow for scrolling.

--Scott

jsand
Participant
Participant
Posts: 17
Joined: Sat May 20, 2006 11:11 am

Re: Policy file - scroll bar?

Post by jsand »

Hi Scott,

That is exactly what I'm doing, and there is no scrollbar showing. Screenshot:
Clipboard01.png
Clipboard01.png (105.39 KiB) Viewed 4848 times
The .html and .ini (minus license key) are attached in a .zip file.
Attachments
NoScroll.zip
(7.3 KiB) Downloaded 320 times

Scott
Site Admin
Site Admin
Posts: 2527
Joined: Mon Dec 16, 2002 12:31 pm
Location: Rochester, MN
Contact:

Re: Policy file - scroll bar?

Post by Scott »

Sorry, you can have PWB automatically add scrollbars with the following setting.

[Dialogs]
DisableScrollbars=False

However, I was thinking more along the lines of adding a scrollbar to the wording of the policy via CSS. Or to get real fancy you can use a framework such as Bootstrap. Both examples are attached.

Code: Select all

<style>
div.ext {  width: 99%;  height: 425px;  overflow: auto;  box-shadow: 1px 1px 10px 3px #c8c8c8;  padding: 5px 5px 5px 5px; }
</style>
<body>
<h1>Policy 643 - Public Information, Services, and Networks</h1>
<div class="ext">
Wording...
</div>
policy.png
policy.png (66.1 KiB) Viewed 4833 times
policy2.png
policy2.png (59.87 KiB) Viewed 4833 times
---Scott
Attachments
policy.zip
(10.22 KiB) Downloaded 333 times

Post Reply