-
FEATURED COMPONENTS
First time here? Check out the FAQ!
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>
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
Asked: 2012-10-14 20:36:50 +0800
Seen: 88 times
Last updated: Oct 16 '12