Opaque-property of scrollpane
Andreas Böckler <[email protected]>
| Newsgroups | gmane.comp.embedded.carlsbad-cubes |
|---|---|
| Message-ID | <[email protected]> |
Hi,
i think the Opaque-Property of the scrollpane-Tag is a bit misleading,
since I don't get the expected behaviour (e.g to get the viewport
transparent).
It's certainly no fault of the swixml-Engine since it passes the
setOpaque()-method to JScrollPane, which hasn't an effect.
My workaround is to make a derived JScrollPane-Class, which overrides
setOpaque() with
super.setOpaque(argOpaque);
getViewport().setOpaque(argOpaque);
. because there is no tag/attribute for the Viewport.
Wouldn't it be useful to integrate a XScrollPane-class in the
swixml-Engine, so the behaviour is as expected?
Thanks for this nice XUL-Engine!
Andy
--
Andreas Böckler netlands edv consulting GmbH
mailto:abo at netlands.de