Is there a possibility to set maxRows for label

asked 2023-01-27 17:33:20 +0800

ivtu gravatar image ivtu
11 2


I am using ZK 9.1 and I have requirement to set max number of rows for multiline label. So I want to show label in several rows, but to specify max number of rows and if text is bigger, to show scrollbar. Is this possible?

delete flag offensive retag edit

1 Answer

Sort by ยป oldest newest most voted

answered 2023-01-27 20:12:25 +0800

ivtu gravatar image ivtu
11 2

Simple CSS max-height is good enough :)

link publish delete flag offensive edit


thanks for sharing!

jeanher ( 2023-01-31 22:42:52 +0800 )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




Asked: 2023-01-27 17:33:20 +0800

Seen: 2 times

Last updated: Jan 27

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