Not allowed to set hflex and width at the same time in zk 9.6

asked 2023-10-12 12:44:43 +0800

balajikathe gravatar image balajikathe

i upgraded zk framework from 6.5 to version and getting error as Not allowed to set hflex and width at the same time. but it is required in one place

delete flag offensive retag edit

1 Answer

Sort by ยป oldest newest most voted

answered 2023-10-18 20:45:56 +0800

jeanher gravatar image jeanher
1824 2 6
ZK Team

This is expected. Since both hflex and width set the width of a component, giving two pieces of information will confuse the component. You should use either one of them.

Reference: https://www.zkoss.org/wiki/SmallTalks/2015/October/NewFeaturesofZK8.0.0#Width.2Fheightshouldnotbesetatthesametimeas_hflex.2Fvflex

What's the case that requires both of them at the same time?

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




Asked: 2023-10-12 12:44:43 +0800

Seen: 4 times

Last updated: Oct 18

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