0

Borderlayout BUG ??? problem resizing in firefox PLEASE HELP

asked 2010-09-03 10:13:44 +0800

streak22 gravatar image streak22
93 2

Hi to all. I write this thread because i have a problem with borderlayout. When the user resize the browser (with ctrl + + or ctrl + -) the component North and South begin to increase and dont stop. When i close and open or resize the east or west component Do the same.

Here is the video. You can see very clear:

http://www.screencast.com/t/ODcxODNmOD


The code of Index:


<?xml version="1.0" encoding="UTF-8"?>
<zk xmlns="http://www.zkoss.org/2005/zul">
    <?taglib uri="http://www.zkoss.org/dsp/web/core" prefix="c"?>
    <?page title="Buenos Aires"?>
    <?link rel="shortcut icon" type="image/x-icon" href="img/cash_register.png"?>
    <?init class="buenosaires.webpages.initiators.IndexInitiator"?>
    <!---->
    <window id="wndIndex" onCreate="wndIndex.load();" use="buenosaires.webpages.IndexWindow"  width="100%" height="100%" onClientInfo="wndIndex.onClientInfo(event)">
            <borderlayout  style="background:#c5e6ef;" id="border" >
                <north flex="true" size="80px" maxsize="15" style="border: 1px solid #000000; background-image:url(${c:encodeURL('/img/header2.png') }); border: 'none'; background-repeat:no-repeat; background-position: right; background-color: #018cb7; " id="borderNorth"  margins="0,0,0,0">
                    <div>
                        <include id="incHeader" src="disposicion/header.zul" />
                    </div>
                </north>
                <west   size="150px" maxsize="150" border="none" title="Menu" splittable="true" collapsible="true"  margins="0,5,0,0" id="borderWest" visible="false" style="background:#d9f3ff;" >
                    <include id="incWest" src="disposicion/west.zul" />
                </west>
                <east  size="150px" maxsize="150" border="none" margins="0,0,5,0" splittable="true" collapsible="true"  title="Quick Links"  id="borderEast" style="background:#d9f3ff;" visible="false">
                    <include id="incEast" src="disposicion/east.zul" />
                </east>
                <center style="background:#e7f0f1;" border="0" id="borderCenter" flex="true">
                    <!--<window id="center"/>-->
                    <include id="incCenter" src="disposicion/center.zul" />
                </center>
                <south  size="40px" maxsize="40" border="none" style="background:#c0e4ed; border: 1px solid #000000;" id="borderSouth">
                    <include id="incButton" src="disposicion/button.zul" />
                </south>
            </borderlayout>
    </window>
</zk>



Maybe a bug in border layout?? some worarround?? I try almost all things i i dont find anything to work. Please help

Versions: zk 5.0.3
Only in firefox is this bug (in chrome works ok and in opera works ok too)


Thanks
Joaquin

delete flag offensive retag edit
Be the first one to reply this discussion!
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: 2010-09-03 10:13:44 +0800

Seen: 200 times

Last updated: Sep 03 '10

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