0

small ERROR: Tabpanal inside border layout

asked 2012-06-26 12:12:32 +0800

manishashrm gravatar image manishashrm
195

HI All,

I want to write tabbox code inside borderlayout but getting error.


can anyone help me to solve this?


<window border="normal" width="320px" height="320px">
<borderlayout width="300px" height="300px">

<north splittable="true" collapsible="true">
<div height="100px" style="background:#008db7;color:white;">N</div>
</north>

<south splittable="true" collapsible="true">
<div height="100px" style="background:#112f37;color:white;">S</div>
<tabbox height="80px">
<tabs>
<tab label="Tab 1"/>
<tab label="Tab 2"/>
</tabs>
</tabbox>

</south>


</borderlayout>

</window>

delete flag offensive retag edit

1 Reply

Sort by ยป oldest newest

answered 2012-06-26 15:15:21 +0800

twiegand gravatar image twiegand
1807 3

manishashrm,

The simplest fix is to wrap everything you have in the <south> with a <div> - like this:


<window border="normal" width="320px" height="320px">
	<borderlayout width="300px" height="300px">
		<north splittable="true" collapsible="true">
			<div height="100px" style="background:#008db7;color:white;">N</div>
		</north>
		<south splittable="true" collapsible="true">
			<div>
				<div height="100px" style="background:#112f37;color:white;">S</div>
				<tabbox height="80px">
					<tabs>
						<tab label="Tab 1" />
						<tab label="Tab 2" />
					</tabs>
				</tabbox>
			</div>
		</south>
	</borderlayout>
</window>

Regards,

Todd

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: 2012-06-26 12:12:32 +0800

Seen: 99 times

Last updated: Jun 26 '12

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