0

grid, sizedByContent and hflex="min", but grid takes all available hor space

asked 2010-01-15 14:07:52 +0800

madruga0315 gravatar image madruga0315 flag of Brazil
937 2 12

on zk live demo of grid http://www.zkoss.org/zkdemo/userguide/#f2

I changed the to:

1. Remove width="150px" on column
2. Replaced fixedLayout="true" with sizedByContent="true" on grid
3. Added hflex="min" on grid

The columns are sized by it's content, however, the grid uses 100% of it's available space, and I expected to use the minimum needed.

Is this a bug, or how do I achieve this?

Thanks

ps: tested with FF 3.5.7 and GC4 beta on RC2 (zk live demo) and same browsers with 15/01/2010 FL

delete flag offensive retag edit

2 Replies

Sort by ยป oldest newest

answered 2010-01-21 04:19:41 +0800

henrichen gravatar image henrichen
3869 2
ZK Team

Please post to ZK bugs and we will track there. Thanks.

link publish delete flag offensive edit

answered 2010-01-21 05:32:32 +0800

madruga0315 gravatar image madruga0315 flag of Brazil
937 2 12

Thanks here,

Here it is

Best regards.

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: 2010-01-15 14:07:52 +0800

Seen: 1,157 times

Last updated: Jan 21 '10

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