0

Shadow around UI components

asked 2009-09-10 11:29:08 +0800

comanche gravatar image comanche
42

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,

delete flag offensive retag edit

6 Replies

Sort by ยป oldest newest

answered 2009-09-10 11:54:13 +0800

baskaraninfo gravatar image baskaraninfo
536 2 2 9

updated 2009-09-10 11:54:40 +0800

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?

link publish delete flag offensive edit

answered 2009-09-10 12:08:31 +0800

comanche gravatar image comanche
42

<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.

link publish delete flag offensive edit

answered 2009-09-10 12:14:57 +0800

baskaraninfo gravatar image baskaraninfo
536 2 2 9

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

link publish delete flag offensive edit

answered 2009-09-10 12:38:23 +0800

comanche gravatar image comanche
42

You can take a look here and find out how does the elements look like:
http://www.zkoss.org/zkdemo/userguide/#f5

Every popup element has a shadow.

link publish delete flag offensive edit

answered 2009-09-11 06:37:10 +0800

comanche gravatar image comanche
42

Up!

link publish delete flag offensive edit

answered 2009-09-11 08:35:47 +0800

comanche gravatar image comanche
42

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();

link publish delete flag offensive edit
Your reply
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools

Follow

RSS

Stats

Asked: 2009-09-10 11:29:08 +0800

Seen: 221 times

Last updated: Sep 11 '09

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More