Hi Edgar,
I just added the following code to the stack panes demo
(pivot.tutorials.layout.StackPanes):
Alert.alert("Hello, World!", display);
I added it to the startup() method, right after the line that opens the window
(line 32). I didn't notice any performance issues - can you try the same test
and let us know what behavior you get?
Also, can you let us know:
- How big is the background image (in pixels)?
- What were the display dimensions of the window containing the scaled image
when you noticed the problem?
- What OS are you running?
- What JVM version/vendor?
- How much main memory does your system have, and how much video memory?
- How much memory did you allocate to the JVM process?
Thanks,
Greg
On Friday, May 22, 2009, at 10:39PM, "Edgar Merino" <[email protected]> wrote:
>Hello,
>
> I recently discovered pivot, currently using svn revision 777773.
>I've got an application where I would like to place a fixed image
>background (although it'll have to be scaled each time the window is
>resized). I've tried placing the background by putting all the
>components inside a StackPane, however performance drops terrible if I
>do it this way (all the other components in the stack move slow, e.g.
>Prompts and Frames). Is there any other way to do what I need without
>suffering from such a terrible performance bottleneck?
>
>Thanks in advance,
>Edgar Merino
>
>