-
FEATURED COMPONENTS
First time here? Check out the FAQ!
Dear ZK community,
I am looking for a way how to disable a shadow around the widgets such as comboboxes, dateboxes and others.
I wonder why they doesn't have a setter method like Window component has.
Thank you beforehand,
Are you looking a way to hide the border of the components?
I don't see any shadow around those components mentioned by you.
Am I missing something?
<DIV class="z-shadow" id="searchCriteria.zul:1:1:1:1:9:1:1:1!pp!shadow" style="DISPLAY: none; Z-INDEX: 88000; LEFT: 818px; WIDTH: 146px; TOP: 154px"><DIV class="z-shadow-tl"><DIV class="z-shadow-tr"></DIV></DIV><DIV class="z-shadow-cl" style="HEIGHT: 25px"><DIV class="z-shadow-cr"><DIV class="z-shadow-cm"> </DIV></DIV></DIV><DIV class="z-shadow-bl"><DIV class="z-shadow-br"></DIV></DIV></DIV>e
No, I am looking exactly for a shadow :) Here is a code listing from the HTML response.
Can you able to post the zul code to reproduce your problem?
You can also take a look of the style guide here:
http://docs.zkoss.org/wiki/StyleGuide_Combobox
I've just solved a problem by overriding ZK JS event handler and commenting out code that is responsible for shadow creation:
if (!pp._shadow) pp._shadow = new zk.Shadow(pp, {left: -4, right: 4, top: 2, bottom: 3, autoShow: true, stackup: (zk.useStackup === undefined ? zk.ie6Only: zk.useStackup)}); else pp._shadow.sync();
Asked: 2009-09-10 11:29:08 +0800
Seen: 221 times
Last updated: Sep 11 '09