-
FEATURED COMPONENTS
First time here? Check out the FAQ!
Orignial message at:
https://sourceforge.net/forum/message.php?msg_id=3446938
By: nobody
There is one issue with overlapping windows. When the user clicks on a window and moves around, the window does not come in the front of other overlapped windows. One would expect the currently moving window to come above all other windows.
Also, there is no API method to control the Z-value of overlapped windows. Perhaps this should be added.
Orignial message at:
https://sourceforge.net/forum/message.php?msg_id=3447152
By: nobody
Well overlapped window does have a good use when we are trying to simulate a MDI like application. In my ZK app, it serves a critical function.
Orignial message at:
https://sourceforge.net/forum/message.php?msg_id=3467584
By: nobody
This should be a fairly simple fix. The Z-index of the active window should be the max out of all open overlapped windows. Hope to see this fix in the next build!
Orignial message at:
https://sourceforge.net/forum/message.php?msg_id=3468600
By: nobody
I am also having trouble trying to fix the caption of the window. In a overlapped window generated by java code, the caption does not seem to behave properly.
The X value of the children of the caption does not change, only the Y value changes.
You can see what I mean at:
http://apps.yomari.net/webdb/
The source is at:
http://apps.yomari.net/webdb/webdb.src.zip
What might have caused this behaviour? It appears to work fine with direct ZUL page. Something seem to be broken inbetween. I am using the latest build of ZK.
Orignial message at:
https://sourceforge.net/forum/message.php?msg_id=3468642
By: tomyeh
OK, I'll fix it.
Orignial message at:
https://sourceforge.net/forum/message.php?msg_id=3468658
By: tomyeh
It is an interesting app.
How did you set the position of caption?
I saw you created components manually. You might consider to use the template approach.
1. Create a ZUL file for each portion of you window.
2. use Executions.create to create components from the file you prepared.
Orignial message at:
https://sourceforge.net/forum/message.php?msg_id=3468705
By: nobody
For caption, all I want is the window decoration to move with the window. The width of the window goes to the right end instead of containing within the window boundary. Try to move around the window and see. By default, the window should have the width automatically maintained as expected.
I am expecting my app to get quite sophisticated and I would rather want everything inside Java with full access to IDE tools like refactor and intellisense etc.
>From my experience, with ZUL templates without tool support, it is
>slower to
develop application than pure Java.
I'll release the source code of my app as it grows.
Orignial message at:
https://sourceforge.net/forum/message.php?msg_id=3468738
By: nobody
Note that setting the window width solves this problem. However, even when width is set to null, it should have behaved naturally.
Orignial message at:
https://sourceforge.net/forum/message.php?msg_id=3471339
By: tomyeh
Well, it depends on the behavior of the browser. We have to intend to make an assumption about this (not setting width).
Orignial message at:
https://sourceforge.net/forum/message.php?msg_id=3472807
By: nobody
I guess you understood the "problem" that I had with the width right? When the window is dragged around, the width does change but the right side remains fixed at the right most corner of the browser. I am sure this is not something that was expected. This problem only happened to me when I added controls to the caption of the window. If they are not added to the caption, the window behaves as normally expected.
Orignial message at:
https://sourceforge.net/forum/message.php?msg_id=3474861
By: tomyeh
Welcome to the dark side of browsers.
According to my experiences, it is better to set the width. Otherwise, the layout is somehow unpreditable (IE and FF has different interpretation).
If the layout is complex, setting width to 100% is not good idea since FF sometimes won't shrink control back when you resize the browser. Use 99% or less works fine!
Asked: 2005-11-28 06:02:33 +0800
Seen: 967 times
Last updated: May 11 '06