0

zk borderlayout dropdownlist inside north is covered by center

asked 2015-06-04 07:34:18 +0800

gds1987 gravatar image gds1987
18

Currently, I have used borderlayout component in ZK. There is one dropdownlist inside North content, however, as this dropdownlist displaying, it would be covered by center content. The following codes is describing this situation.

    <borderlayout>
        <north border="none" height="100px">
            <html id="htmlHeader" />
        </north>
        <south border="none" height="100px">                
            <html id="htmlFooter" />
        </south>
        <center border="none" autoscroll="true">  
            <div id="divCenter" height="100%">              

            </div>                  
        </center>
    </borderlayout>

By the way: the htmlHeader/htmlFooter, I got from server as 'Tag String' every time, displayed well.

Any help or suggestion will be highly appreciated !

delete flag offensive retag edit

1 Answer

Sort by » oldest newest most voted
0

answered 2015-06-04 09:14:49 +0800

Darksu gravatar image Darksu
1991 1 4

Hello gds1987,

For starters it would be best if you avoided setting fixed pixels. Furthermore try using vflex and hflex.

As an example please refer to the following url:

http://books.zkoss.org/wiki/ZKComponentReference/Layouts/Borderlayout

Best Regards,

Darksu

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: 2015-06-04 07:34:18 +0800

Seen: 9 times

Last updated: Jun 04 '15

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