0

hflex="max" inside grid

asked 2020-08-26 22:41:19 +0800

ivtu gravatar image ivtu
11 2

Hello,

In ZK9, grid is screwed if I use hflex="max". https://zkfiddle.org/sample/td582g/1-hflex-max-isnide-grid

Is hflex deprecated for ZK9?

delete flag offensive retag edit

3 Answers

Sort by ยป oldest newest most voted
0

answered 2020-08-27 10:38:03 +0800

cor3000 gravatar image cor3000
6280 2 7

updated 2020-08-27 10:38:43 +0800

I am not sure what hflex="max" even means... (it's neither documented here nor there)

using hflex="1" seems to give reasonable results:

https://zkfiddle.org/sample/td582g/2-hflex-max-isnide-grid

link publish delete flag offensive edit
0

answered 2020-08-27 14:21:40 +0800

ivtu gravatar image ivtu
11 2

OK, but with next example: https://zkfiddle.org/sample/td582g/3-hflex-max-isnide-grid

Start it, and try to resize last column to be smaller.

link publish delete flag offensive edit
0

answered 2020-08-27 15:16:46 +0800

cor3000 gravatar image cor3000
6280 2 7

yes I can see the problem, after removing the flags sizedByContent (and deprecated fixedLayout) the hflex works as expected.

sizedByContent by itself is in conflict with columns sized by hflex, I wouldn't even know what to expect of a combination of both sizing options.

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

Follow
1 follower

RSS

Stats

Asked: 2020-08-26 22:41:19 +0800

Seen: 10 times

Last updated: Aug 27 '20

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