-
FEATURED COMPONENTS
First time here? Check out the FAQ!
Hello, this code works fine in FF and Safari. On IE7, the content div looks fine but the shadow and the title bar go all the way across. Anyone else see this?
ZK 3.5.0
<?xml version="1.0" encoding="utf-8"?>
<window>
<toolbarbutton label="Pop" onClick="win1.doPopup()" />
<window visible="false" closable="true" id="win1" border="normal">
<caption label="Test" />
<label>Test</label>
</window>
</window>
/Daryl
Hi Dary,
Please post it to bug-list.
Thanks.
Hi Daryl,
I think it's an application bug, in this case, you have to specify a proper width.
For example,
<window width="50%"> or <window width="200px">
In IE7, it displays wrong in this case.
That's a real bummer. I works fine in FF. I have a generic popup window routine that takes the child component - it would be a pain to have to specify the child component width plus 5 or something. Is it possible for ZK to calculate the proper width when rendering (at the client)? The inner content window seems to be the right width.
/Daryl
Hi Daryl,
The reason why we don't calculate is that if we calculate a fixed width to the component, it will lose flexible to grow its width.
A better solution is to specify a proper width by application developer.
I would agree with you if the window grew it's width properly. A window that is flexible with its contents is hardly worthwhile if it breaks up as it does. A simple window with no titlebar seems to be fine, but with the title bar, the shadow layer and title bar stretch all the way across the page while the content part of the window "grows" or shrinks properly. Am I the only one seeing it this way? No one has confirmed the behavior I am seeing. Would a screen shot help?
/Daryl
Asked: 2008-09-26 17:56:09 +0800
Seen: 250 times
Last updated: Oct 01 '08