-
FEATURED COMPONENTS
First time here? Check out the FAQ!
When I create a new Window, the bottom border sometimes looks like this: http://dl.dropbox.com/u/17844821/zeug/window_bottom_border_bug.png
See the strange light grey border at the very bottom?
After resizing the window, this problem vanished and doesn't reappear again until I reload the application next time.
What's going on here?
Sure, just sign up for an account and then login.
In the upper toolbar menu click "New Email".
That should create a new window with the issue described.
I'm afraid, no :-(
I already tried to replicate that issue but I failed.
All I can give you is the code that I already posted up there..
Ps: I noticed that this issue also seems to happen with other Window instances that I create (not only the ones instantiated from the code above).
But it always seems to be the very first window. If I close it and the open a new one, the issue is gone.
If you want to test it: Just go to www.smampi.com and try it out for yourself. The application is live now.
Hm, setting a fixed pixel height didn't fix the issue.
Also, I doubt that my CSS file has something to do with this since there is only very few stuff in there:
/css/mailformular.css
div.grid_mailformular, tbody.grid_mailformular, tr.grid_mailformular{ border: 0; } div.bl_mailformular{ background: none; } div.wdw_mailformular div.z-window-overlapped-cnt{ padding: 0; } .wdw_mailformular{ overflow: auto; }
In your case, it looks like a timing issue when the CSS file is added dynamically and the window has a percentage size.
So, I guess if you replace the height with a precise size(like pixel) or put your CSS file in the root page, the issue may be gone.
Damn... I deleted my browser's cache and tried again.
Problem wasn't fixed and still remains :-(
I was able to fix this!
I first called
window.doOverlapped()
Component parent = aLabelInTheWindow; while(parent != null){ parent.invalidate(); parent = parent.getParent(); }
That did the trick.
Thanks Stephan, you bumped me into the right direction :-)
Still... very weird behavior of that window..
That's interesting.
Calling doModal() really fixed the issue but it gives me a modal window (which I don't want).
Have a try with calling .invalidate(); before you call doModal();
Asked: 2011-06-07 06:58:26 +0800
Seen: 565 times
Last updated: Jul 25 '11