-
Bug
-
Resolution: Fixed
-
P4
-
fx2.1
-
2.1.0b10
JDK6
Run attached application.
To reproduce:
1. In first stage click "Init".
2. In the second click "Win"
3. In the third click "App"
4. In the fourth click "None"
I see intersection of all windows. (every next is intersected with the previous one).
I created this app for windows OS first, and it was written in a such way, so every new scene will not intersect with the previous. So I writed:
private void changeStageSizes(){
switch(renderType){
case LIST:
stage.setWidth(width);
stage.setHeight(height); // Look here
stage.setX(initialX + (counter-1));
stage.setY(initialY + (counter-1)*height); // and here
//...
counter++
It works for winOS: windows don't intersect. that is not true for linux.
To reproduce:
1. In first stage click "Init".
2. In the second click "Win"
3. In the third click "App"
4. In the fourth click "None"
I see intersection of all windows. (every next is intersected with the previous one).
I created this app for windows OS first, and it was written in a such way, so every new scene will not intersect with the previous. So I writed:
private void changeStageSizes(){
switch(renderType){
case LIST:
stage.setWidth(width);
stage.setHeight(height); // Look here
stage.setX(initialX + (counter-1));
stage.setY(initialY + (counter-1)*height); // and here
//...
counter++
It works for winOS: windows don't intersect. that is not true for linux.