ZK version 6.5.3 -Menubar image issue

asked 2014-06-20 11:27:14 +0800

nsharma gravatar image nsharma flag of India
917 1 11

updated 2014-07-03 08:13:11 +0800

Hi all,

Earlier i was using 16x16 image in menubar

<menuitem label="test" image="/resource/image/test.gif"  />

Now i have to use 24X24 images in menubar

But now when i put the image ,it gets cropped..I tried to set css for height ,it showed the image,but on mouse hover the selection size remained same.

This issue is in all versions below 7.0.0 . From ZK 7.0.0 they are using div to design menubar internally,earlier they used tables.

Please help me out. I can provide more explanation if needed.

delete flag offensive retag edit

1 Answer

Sort by ยป oldest newest most voted

answered 2014-08-20 02:21:38 +0800

jimmyshiau gravatar image jimmyshiau
4921 5
http://www.zkoss.org/ ZK Team

You can try

.z-menu-image, .z-menuitem-image {
    max-width: none;
link publish delete flag offensive edit
Your answer
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

1 follower



Asked: 2014-06-20 11:27:14 +0800

Seen: 19 times

Last updated: Aug 20 '14

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