0

Useless scrollbars in FF3, not in IE for listbox with rows

asked 2009-01-07 02:02:17 +0800

robertpic71 gravatar image robertpic71
1275 1

The following code has a different output on FF 3.0.5 and IE6:

<window title="Listbox" border="normal">
<vbox width="100%">
	<listbox rows="3" mold="select">
		<listitem label="Inbox"/>
		<listitem label="Received"/>
		<listitem label="Draft"/>
	</listbox>		
</vbox>
</window>

While IE6 do not display the empty scrollbars, FF3 show me scrollbars without content.
Of course, when i use the listbox without model="select" it works with FF3 also.
But i would prefer the mold=select, because the selection is more highlighted than in the normal mold.

Is this a bug or an invalid combination mold="select" + rows>1?

/Robert

delete flag offensive retag edit

2 Replies

Sort by ยป oldest newest

answered 2009-01-07 03:49:09 +0800

henrichen gravatar image henrichen
3869 2
ZK Team

Robert,

I paste your code to ZK demo, and I can see the three listitems there. I am not sure what you mean by "FF3 show me scrollbars without content".

If you are talking about the "Useless scrollbar", I am afraid that is the default behavior of FF (since mold="select" is implemented with HTML tag <select>).

If what you need is a "more highlighted" selection, you can consider change the style of a non-select-mold listbox. The style guide is here:

http://www.zkoss.org/doc/styleguide/ch02s31.html#id4892051

link publish delete flag offensive edit

answered 2009-01-07 04:19:30 +0800

robertpic71 gravatar image robertpic71
1275 1

Hi Henri,

thanks for the tip with the styleguide.

"without content" means with scrollbar without a slider - see the pictures below:

FF3 vs IE.

>> I am afraid that is the default behavior of FF (since mold="select" is implemented with HTML tag <select>).
I think that's the problem - i will try to style the normal listbox.

/Robert

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-01-07 02:02:17 +0800

Seen: 141 times

Last updated: Jan 07 '09

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