0

Listfoot display problem

asked 2012-10-14 20:36:50 +0800

czynga gravatar image czynga
171

updated 2012-10-14 20:37:57 +0800

The problem is that the mouse cursor is changing to hand between each listfooter. Taking into account that listfoot is not selectable and there cannot be more than one listfoot, what is the purpose of that? It's very confusing, take a look at my sample code. Cursor is changing between the listbox left border and button and looks like user was about to click on the button. Or if you move your mouse horizontally from the button to the "total" label then you will get a hand cursor under the "8" label even there is absolutely nothing to click on.

Does it qualify as a bug? And what's more important - is there a fix or workaround?

Example code:

<window>
<listbox checkmark="true" nonselectableTags="*" multiple="true" width="400px">
	<listhead>
		<listheader width="200px">Item</listheader>
		<listheader width="100px">Quantity</listheader>
		<listheader width="100px">Price</listheader>
	</listhead>
	<listitem>
		<listcell>apple</listcell>
		<listcell>3</listcell>
		<listcell>1</listcell>
	</listitem>
	<listitem>
		<listcell>orange</listcell>
		<listcell>8</listcell>
		<listcell>2</listcell>
	</listitem>
	<listfoot>
		<listfooter><button label="action"></button></listfooter>
		<listfooter align="right">total:</listfooter>
		<listfooter>??</listfooter>
	</listfoot>
</listbox>
</window>

delete flag offensive retag edit

2 Replies

Sort by ยป oldest newest

answered 2012-10-15 03:01:54 +0800

neillee gravatar image neillee flag of Taiwan
1692 1 5
https://plus.google.com/u...

Hello czynga,

To remove the "hand" mouse pointer between listfooters, you can try the following code.

<zk>
	<style>
	div.z-listbox-footer .z-listfooter {
		cursor: auto;
	}
	</style>
	<window>

		<listbox
			checkmark="true"
			nonselectableTags="*"
			multiple="true"
			width="400px">
			<listhead>
				<listheader width="200px">Item</listheader>
				<listheader width="100px">Quantity</listheader>
				<listheader width="100px">Price</listheader>
			</listhead>
			<listitem>
				<listcell>apple</listcell>
				<listcell>3</listcell>
				<listcell>1</listcell>
			</listitem>
			<listitem>
				<listcell>orange</listcell>
				<listcell>8</listcell>
				<listcell>2</listcell>
			</listitem>
			<listfoot>
				<listfooter>
					<button label="action"></button>
				</listfooter>
				<listfooter align="right">total:</listfooter>
				<listfooter>??</listfooter>
			</listfoot>
		</listbox>
	</window>
</zk>

Neil Lee, Engineer
Potix Corporation

link publish delete flag offensive edit

answered 2012-10-16 04:16:27 +0800

czynga gravatar image czynga
171

Thank you Neil, it solves my problem. I believe this should go straight into default theme.

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: 2012-10-14 20:36:50 +0800

Seen: 88 times

Last updated: Oct 16 '12

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