sizedByContent does not always honor its name in zk6.5.2

asked 2013-04-26 11:26:11 +0800

cvarona gravatar image cvarona
554 1 6

updated 2013-04-26 11:27:05 +0800


after upgrading to zk 6.5.2 I've run into trouble with forms displaying a structure similar to this one:

<window border="normal" closable="false" title="Some title" contentStyle="overflow" width="768px">
            <grid id="grid0" sizedByContent="true">
                <columns id="columns0" sizable="true">
                    <column id="column0"/>
                    <column id="column1"/>
                <rows id="rows0">
                    <row id="row4">
                        <label id="label9" value="Something"/>
                        <textbox id="inputBox5" width="250px" mold="rounded" maxlength="45" />
                    <row id="row5">
                        <label id="label10" value="Another thing"/>
                        <textbox id="inputBox6" width="250px" mold="rounded" maxlength="45" />
                    <row id="row6">
                        <label id="label11" value="Yet something more"/>
                        <textbox id="inputBox7" width="250px" mold="rounded" maxlength="45" />

This how it used to be rendered in zk 6.5.1:

fixed width textboxes sized by content in 6.5.1

This is how zk 6.5.2 renders it:

fixed width textboxes sized by content in 6.5.2

With kind regards

César Varona

delete flag offensive retag edit

1 Answer

Sort by » oldest newest most voted

answered 2013-05-02 03:48:43 +0800

paowang gravatar image paowang
140 6

Try to remove unnecessary <columns>

This works for me.

link publish delete flag offensive edit


It also does for me, but should there be meaningful column labels, then it would keep on failing all the same, isn't it ?

cvarona ( 2013-05-09 07:29:51 +0800 )edit

No ! Surprisingly enough it doesn't. If I set some label on the columns in the example above it gets rendered as neatly as if the columns are throughly removed.

cvarona ( 2013-05-09 07:32:02 +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: 2013-04-26 11:26:11 +0800

Seen: 26 times

Last updated: May 02 '13

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