0

panelchildren content not displayed when toolbar is used

asked 2013-10-10 17:51:09 +0800

meh gravatar image meh
57 1

Can anyone tell me why panelchildren content is not displayed when I add a toolbar to the panel?

I tried this out in the zk sandbox, and panelchildren content is only seen when there is no toolbar:

<zk>
   <borderlayout height="600px" width="800px">
        <west border="normal" size="33%" >
            <panel hflex="1" vflex="1" >
                <panelchildren>
                    <div hflex="1" vflex="1" >
                        <label value="Instructions Instructions Instructions Instructions" />
                    </div>
                </panelchildren>
            </panel>

        </west>
        <center border="normal" >
            <panel hflex="1" vflex="1">
                <toolbar mold="panel" align="center" >
                    <button label="Center Button - Top"  />
                </toolbar>
                <panelchildren>
                    <div hflex="1" vflex="1">
                        <label value="Instructions Instructions Instructions Instructions" />
                    </div>
                </panelchildren>
            </panel>
        </center>
        <east border="normal" size="33%" >
            <panel hflex="1" vflex="1" >
                <panelchildren>
                    <div hflex="1" vflex="1" >
                        <label value="Instructions Instructions Instructions Instructions" />
                    </div>
                </panelchildren>
                <toolbar mold="panel" align="center" >
                    <button label="East Button - Bottom" />
                </toolbar>
            </panel>
        </east>
    </borderlayout>

</zk>

delete flag offensive retag edit

1 Answer

Sort by » oldest newest most voted
0

answered 2013-10-10 18:21:43 +0800

meh gravatar image meh
57 1

I found a workaround for my problem, but I still think that my original post is a bug.

<borderlayout>
    <west border="normal" size="33%" >
        <vlayout>
            <toolbar mold="panel" align="center">
                <button id="easyMode" label="Easy Mode" style="font-size:20px" />
            </toolbar>
            <label hflex="1" value="Instructions Instructions Instructions Instructions" />
        </vlayout>
    </west>
    <center border="normal" >
        <vlayout>
            <toolbar mold="panel" align="center">
                <button label="Features Mode" style="font-size:20px" />
            </toolbar>
            <label hflex="1" value="Instructions Instructions Instructions Instructions" />
        </vlayout>
    </center>
    <east border="normal" size="33%" hflex="1" vflex="1" >
        <vlayout>
            <toolbar mold="panel" align="center">
                <button label="Advanced Mode" style="font-size:20px" />
            </toolbar>
            <label hflex="1" value="Instructions Instructions Instructions Instructions" />
        </vlayout>
    </east>
</borderlayout>
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
2 followers

RSS

Stats

Asked: 2013-10-10 17:51:09 +0800

Seen: 3 times

Last updated: Oct 10 '13

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