There is javascript code floating around to measure the scrollbar width.
Some of it doesn't work in IE7, but other's do.
On Wed, Jun 17, 2009 at 9:57 PM , Max Carlson wrote:
Approved! I wonder if we could measure the IE scrollbar width at
runtime? It's a system-wide setting, so it's possible it could be
something other than 17px...
[email protected] wrote:
Change 20090617-Philip-0 by phi...@philip-dc on 2009-06-17 20:14:41
EDT
in /cygdrive/f/laszlo/svn/src/svn/openlaszlo/trunk
for http://svn.openlaszlo.org/openlaszlo/trunk
Summary: IE7 - Fixed display of vertical scrollbars
New Features:
Bugs Fixed: LPP-8257
Technical Reviewer: max
QA Reviewer: hqm
Doc Reviewer: (pending)
Documentation:
Release Notes:
This changeset turns off the quirk added in LPP-3691. With this
turned off, the scrollbars work the same as FF3. I added
overflow:hidden to lzinputtextmultilinecontainer_click (Henry found
it was missing). I also changed scrollbar_width from 16 to 17 pixels
after verifying the scroll bar is 17 pixels. I used a couple of
methods to determine the width, but this was the shortest (it uses
jquery):
http://jdsharp.us/jQuery/minute/calculate-scrollbar-width.php
Details:
Two tests in LPP-8257 work the same in IE6/IE7/IE8 as FF3.
Tests in LPP-3691 work fine in IE6/IE7/IE8
Tests:
Files:
M WEB-INF/lps/lfc/kernel/dhtml/LzSprite.js
Changeset:
http://svn.openlaszlo.org/openlaszlo/patches/20090617-Philip-0.tar
--
Regards,
Max Carlson
OpenLaszlo.org