0

How to clip text inside list items, etc

asked 2008-10-20 16:54:02 +0800

msrednsi gravatar image msrednsi
106 2

On listboxes, grids and tree cells, if the text does not fit, the cell grows to make all text visible. I would like to clip this text to guarantee that the row does always have 1 line height.

As the text is not clipped, like on the main page of this forum, rows grow in height, and this is not suitable for some pages. How to guarantee a 1 line height? How to clip text?

I've tried with css and the style guide, but no success! Any help would be appreciated.
Thanks in advance.

delete flag offensive retag edit

1 Reply

Sort by ยป oldest newest

answered 2008-10-21 01:10:08 +0800

jumperchen gravatar image jumperchen
3909 2 8
http://jumperchen.blogspo... ZK Team

For example,

.z-list-cell-cnt, .z-tree-cell-cnt, .z-row-cnt {
white-space:nowrap;
}

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: 2008-10-20 16:54:02 +0800

Seen: 148 times

Last updated: Oct 21 '08

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