0

Problem on resize in tabbox

asked 2014-06-25 17:18:00 +0800

eclipse2 gravatar image eclipse2
17 4

updated 2014-06-27 05:50:43 +0800

chillworld gravatar image chillworld flag of Belgium
5367 4 9
https://github.com/chillw...

I have one tab rendered with one vlayout not visible. When I enable the visibility, the container acquires the scroll bar and the tabbox don't readjust his size. I made one fiddle to demonstrate this: zkfiddle.org/sample/ppbnrt/1-Tabbox-Resize-Test

Is this one bug of ZK? If not, how I can fix this problem?

delete flag offensive retag edit

2 Answers

Sort by » oldest newest most voted
0

answered 2014-06-27 02:30:43 +0800

mhj gravatar image mhj flag of Brazil
806 1 7

Hello eclipse2, look at this: Tabbox-Resize i hope that helps you...

link publish delete flag offensive edit
0

answered 2014-06-27 05:58:52 +0800

chillworld gravatar image chillworld flag of Belgium
5367 4 9
https://github.com/chillw...

updated 2014-06-27 06:04:35 +0800

I looked at your fiddle and actually you make a mistake.
Your window has a fixed height of 200px.

With your button you enable the visibility of the vlayout, witch has a height of 300px.

You do not reset the window height and as this is the parent, your window stay's 200px.
This means that you lose data cause the vlayout has at least 100px to much.
If you remove your 300px in the vlayout you'll see that you can see all your data.

Greetz chill.

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
1 follower

RSS

Stats

Asked: 2014-06-25 17:18:00 +0800

Seen: 21 times

Last updated: Jun 27 '14

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