1

column layout question

asked 2014-02-15 15:51:31 +0800

Senthilchettyin gravatar image Senthilchettyin flag of India
2611 3 8
http://emrpms.blogspot.in...

Hi

Using column layout, i am showing two group boxes in two columns, i want to insert some space between the columns . How we can do that.

image description

Here is the code

    <columnlayout>
                    <columnchildren width="30%">
                        <groupbox mold="3d" closable="false"
                            sclass="grpboxSectionBar">
                            <caption
                                label="Box 14  Date of current Illness" />

                            <separator />
                        </groupbox>
                    </columnchildren>

                    <columnchildren width="30%">
                        <groupbox mold="3d" closable="false"
                            sclass="grpboxSectionBar">
                            <caption label="Box 15 Other Date" />

                            <separator />
                        </groupbox>
                    </columnchildren>
                </columnlayout>
delete flag offensive retag edit

1 Answer

Sort by ยป oldest newest most voted
1

answered 2014-02-17 01:27:30 +0800

vincentjian gravatar image vincentjian
2245 6

Try adding margin style on first columnchildren

<zk>
    <columnlayout>
        <columnchildren width="30%" style="margin-right:15px;">
            <groupbox mold="3d" closable="false" sclass="grpboxSectionBar">
                <caption label="Box 14  Date of current Illness" />
                <separator />
            </groupbox>
        </columnchildren>
        <columnchildren width="30%">
            <groupbox mold="3d" closable="false" sclass="grpboxSectionBar">
                <caption label="Box 15 Other Date" />
                <separator />
            </groupbox>
        </columnchildren>
    </columnlayout>
</zk>
link publish delete flag offensive edit

Comments

+1 for each. Code tested on fiddle and works perfect. I did also tried some stuff yesterday but with style tag and didn't get it to work nice (always decentrelised).

chillworld ( 2014-02-17 06:44:19 +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

Follow
1 follower

RSS

Stats

Asked: 2014-02-15 15:51:31 +0800

Seen: 8 times

Last updated: Feb 17 '14

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