-
FEATURED COMPONENTS
First time here? Check out the FAQ!
Hi,
I have an issue with vflex="min". Paddings of componentes with vflex="min" get a to high padding on the bottom.
Please test the example code and change the padding value:
<zk> <box vflex="min" style="background: yellow; padding: 10px"> <div height="200px" width="200px" style="background: red;"/> </box> </zk>
Is this a bug? I'm using ZK 5.0.7.1.
regards,
Gunter
Hi,
the problem is only in IE. The firefox shows the padding correct.
I guess there is a wrong calculation of the bottom padding combined with the using of vflex="min". If you remove the vflex="min" the IE shows the correct padding.
If you change the padding value from 10px to 20px the bottom padding enlarged extreme. It seems the botton padding value works like a factor for the calculation of the bottom padding high.
regards,
Gunter
Ok, thanks for your info.
regards,
Gunter
Hi,
So far we don't have a good way to fix it.
Here lists the browser's behavior - https://spreadsheets.google.com/spreadsheet/ccc?key=0AllR_9yghVpHdGZzRVVxa0pueEZudkZYRl9CdWtDb1E
X: meaning it should not have
V: meaning it should have
Miss: meaning it should have, but not have
To workaround this is to use a Div or vlayout to specify with padding style, rather than specify
the style on the table element.(box component)
Asked: 2011-06-29 08:48:30 +0800
Seen: 416 times
Last updated: Jul 06 '11