0

Two columns in center?

asked 2015-04-13 16:01:40 +0800

Tegomena gravatar image Tegomena
33 4

In a border layout, in the "center" section, I want to have two columns, filling out the whole space of the center. I tried to acchieve this with hbox/vboxs, but the columns have different sizes or are not covering the whole available space of the center section:

<hbox &gt;="" <!--="" left="" column:="" --=""> <vbox style="margin:10px;"> ... </vbox> <vbox style="margin:10px;"> ... </vbox> </hbox>

delete flag offensive retag edit

2 Answers

Sort by » oldest newest most voted
1

answered 2015-04-14 02:21:28 +0800

echarish gravatar image echarish flag of Japan
1809 7
http://jp.linkedin.com/in...

Hello

Try using hflex="1" attribute on your hbox. and than give propery hflex value on the components inside hbox or vbox

http://books.zkoss.org/wiki/ZKDeveloper%27sReference/UIPatterns/Hflexand_Vflex

Harish.

link publish delete flag offensive edit
0

answered 2015-04-21 12:00:10 +0800

Tegomena gravatar image Tegomena
33 4

Thank you very much, I always did the numbering wrong but now it works!

link publish delete flag offensive edit

Comments

You are welcome, if your question was properly answered can you accept the answer and mark it, so as to close the question.

echarish ( 2015-04-22 01:19:06 +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: 2015-04-13 16:01:40 +0800

Seen: 25 times

Last updated: Apr 21 '15

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