0

BorderLayout: Strange behaviour

asked 2008-11-13 08:30:42 +0800

ziccardi gravatar image ziccardi
321 7

Try this in ZKDEMO:

<borderlayout height="500px">
	<north title="North" maxsize="300" size="50%" splittable="true" collapsible="true">
NORTH
	</north>

	<center title="Center" maxsize="300" size="50%" splittable="true" collapsible="true">
CENTER
	</center>
</borderlayout>
			

The CENTER label is not shown...

delete flag offensive retag edit

2 Replies

Sort by ยป oldest newest

answered 2008-11-13 08:32:26 +0800

ziccardi gravatar image ziccardi
321 7

updated 2008-11-13 08:36:58 +0800

One more thing: In ZK DEMO, put the code above, then click Try me!.

Click Try me! again: a window pops up saying : readonly.

It seems caused by the maxsize attribute of the center tag: removing it, the popup do not shows anymore, and I can see the CENTER string.

link publish delete flag offensive edit

answered 2008-11-13 08:39:22 +0800

ziccardi gravatar image ziccardi
321 7

Solved!

Sorry. Reading through the documentation, I saw that CENTER do not supports maxsize.

link publish delete flag offensive edit
Your reply
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

RSS

Stats

Asked: 2008-11-13 08:30:42 +0800

Seen: 114 times

Last updated: Nov 13 '08

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