Small changes to the layout manager to support most resolutions
This commit is contained in:
parent
810341f8d8
commit
c0288e7b99
@ -50,7 +50,7 @@
|
||||
leftWindowHeight = this.height/2 - 30;
|
||||
leftWindowWidth = (this.width / 20) * 3;
|
||||
rightWindowHeight = this.height - 10;
|
||||
rightWindowWidth = this.width / 3;
|
||||
rightWindowWidth = (this.width / 20) * 6;
|
||||
centerWindowHeight = this.height - 10;
|
||||
centerWindowWidth = this.width / 2;
|
||||
|
||||
@ -72,7 +72,7 @@
|
||||
win.height = leftWindowHeight;
|
||||
break;
|
||||
case MIDDLE:
|
||||
x = this.width - rightWindowWidth - centerWindowWidth;
|
||||
x = leftWindowWidth + 10; //this.width - rightWindowWidth - centerWindowWidth + 20;
|
||||
y = 1;
|
||||
win.width = centerWindowWidth;
|
||||
win.height = centerWindowHeight;
|
||||
|
Loading…
Reference in New Issue
Block a user