Menu

#976 Borderlayout does not fit inside Window (IE6)

closed-fixed
nobody
None
3
2008-06-26
2008-04-11
Ross W
No

The bug I have found involves the borderlayout not fitting inside a window. Here are two examples:

Whole zul file (notice you can scroll up and down even though the page is set to 100%):

<?xml version="1.0" encoding="UTF-8"?>
<?page id="helpPage" title="Testing..." language="xul/html" style="height: 100%"?>
<window border="normal" width="100%" height="100%">
<caption label="Test Window"/>
<borderlayout>
<center border="none" flex="false">
<borderlayout>
<center border="none" flex="false">
</center>
<east id="easty" size="50%" border="none" flex="false" maxsize="800" splittable="true" collapsible="true">
</east>
</borderlayout>
</center>
<east size="33%" border="none" flex="false" maxsize="800" collapsible="true" onOpen="easty.setOpen(true)">
</east>
</borderlayout>
</window>

Tested on ZK Demo at zkoss.org:

<window border="normal" width="100%" height="700px">
<caption label="Test Window"/>
<borderlayout>
<west maxsize="600" minsize="300" size="30%" flex="true" border="0" splittable="true">
<div style="background:#E6D92C">
<label value="30%" style="color:white;font-size:50px" />
</div>
</west>
<center>
<label value="Here is a border" style="color:gray;font-size:30px" />
</center>
<east size="30%" flex="true" border="0" collapsible="true">
<div style="background:#B8D335">
<label value="30%" style="color:white;font-size:50px" />
</div>
</east>
</borderlayout>
</window>

This bug is really noticable if you have components of a set size inside the borderlayout. If window is made overlapped, the window seems to stretch to fit the borderlayout inside but resizing the window has a weird behaviour (resize line is not on the mouse cursor).

Discussion

  • Jumper Chen

    Jumper Chen - 2008-04-14
    • status: open --> wont-fix-rejected
     
  • Jumper Chen

    Jumper Chen - 2008-04-21

    Logged In: YES
    user_id=1684431
    Originator: NO

    Fixed since 4/21.

    @ Ross,

    I try to prevent the issue as you mentioned.
    But, in IE6, the problem still remains.

    /Jumper

     
  • Jumper Chen

    Jumper Chen - 2008-04-21
    • summary: Borderlayout does not fit inside Window --> Borderlayout does not fit inside Window (IE6)
    • priority: 5 --> 3
    • status: wont-fix-rejected --> open-remind
     
  • Jumper Chen

    Jumper Chen - 2008-06-26

    Logged In: YES
    user_id=1684431
    Originator: NO

    IE6 is also fixed, since 6/26.

     
  • Jumper Chen

    Jumper Chen - 2008-06-26
    • status: open-remind --> closed-fixed
     
  • Jumper Chen

    Jumper Chen - 2008-06-27

    Logged In: YES
    user_id=1684431
    Originator: NO

    IE6 issue is fixed in ZK 3.5.0 version.

    In ZK 3.0.X version, please specify the following code to solve this bug.

    <window contentStyle="overflow: hidden; zoom: 1;">
    ...
    </window>

     

Log in to post a comment.

MongoDB Logo MongoDB