0

IE7 Pop-up window goes all the way across

asked 2008-09-26 17:56:09 +0800

dastultz gravatar image dastultz
797 8

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

delete flag offensive retag edit

6 Replies

Sort by ยป oldest newest

answered 2008-10-01 21:01:43 +0800

dastultz gravatar image dastultz
797 8

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

link publish delete flag offensive edit

answered 2008-10-01 01:09:03 +0800

jumperchen gravatar image jumperchen
3909 2 8
http://jumperchen.blogspo... ZK Team

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.

link publish delete flag offensive edit

answered 2008-09-30 11:34:15 +0800

dastultz gravatar image dastultz
797 8

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

link publish delete flag offensive edit

answered 2008-09-30 01:50:40 +0800

jumperchen gravatar image jumperchen
3909 2 8
http://jumperchen.blogspo... ZK Team

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.

link publish delete flag offensive edit

answered 2008-09-30 00:59:20 +0800

jumperchen gravatar image jumperchen
3909 2 8
http://jumperchen.blogspo... ZK Team

Hi Dary,

Please post it to bug-list.

Thanks.

link publish delete flag offensive edit

answered 2008-09-29 13:19:07 +0800

dastultz gravatar image dastultz
797 8

Can someone at least confirm this for me? Should I enter a bug?

/Daryl

link publish delete flag offensive edit
Your reply
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: 2008-09-26 17:56:09 +0800

Seen: 250 times

Last updated: Oct 01 '08

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