Browse Source

make lobby 4:3 aspect ratio

Laserlicht 8 months ago
parent
commit
ecd5bc1598
1 changed files with 19 additions and 19 deletions
  1. 19 19
      config/widgets/lobbyWindow.json

+ 19 - 19
config/widgets/lobbyWindow.json

@@ -26,14 +26,14 @@
 	},
 	
 	
-	"width": 1024,
+	"width": 800,
 	"height": 600,
 	
 	"items":
 	[
 		{
 			"type": "backgroundTexture",
-			"rect": {"w": 1024, "h": 600}
+			"rect": {"w": 800, "h": 600}
 		},
 		
 		{
@@ -69,36 +69,36 @@
 		
 		{
 			"type": "areaFilled",
-			"rect": {"x": 270, "y": 50, "w": 150, "h": 180}
+			"rect": {"x": 258, "y": 50, "w": 150, "h": 180}
 		},
 		{
 			"name" : "headerChannelList",
 			"type": "labelTitle",
-			"position": {"x": 280, "y": 53}
+			"position": {"x": 268, "y": 53}
 		},
 		{
 			"type" : "lobbyItemList",
 			"name" : "channelList",
 			"itemType" : "channel",
-			"position" : { "x" : 272, "y" : 68 },
+			"position" : { "x" : 260, "y" : 68 },
 			"itemOffset" : { "x" : 0, "y" : 40 },
 			"visibleAmount" : 4
 		},
 		
 		{
 			"type": "areaFilled",
-			"rect": {"x": 270, "y": 250, "w": 150, "h": 340}
+			"rect": {"x": 258, "y": 250, "w": 150, "h": 340}
 		},
 		{
 			"name" : "headerMatchList",
 			"type": "labelTitle",
-			"position": {"x": 280, "y": 253}
+			"position": {"x": 268, "y": 253}
 		},
 		{
 			"type" : "lobbyItemList",
 			"name" : "matchList",
 			"itemType" : "match",
-			"position" : { "x" : 272, "y" : 268 },
+			"position" : { "x" : 260, "y" : 268 },
 			"itemOffset" : { "x" : 0, "y" : 40 },
 			"sliderPosition" : { "x" : 130, "y" : 0 },
 			"sliderSize" : { "x" : 320, "y" : 320 },
@@ -107,12 +107,12 @@
 
 		{
 			"type": "areaFilled",
-			"rect": {"x": 430, "y": 50, "w": 430, "h": 515}
+			"rect": {"x": 411, "y": 50, "w": 232, "h": 515}
 		},
 		{
 			"name" : "headerGameChat",
 			"type": "labelTitle",
-			"position": {"x": 440, "y": 53}
+			"position": {"x": 421, "y": 53}
 		},
 		{
 			"type": "textBox",
@@ -121,33 +121,33 @@
 			"alignment": "left",
 			"color": "white",
 			"blueTheme" : true,
-			"rect": {"x": 440, "y": 68, "w": 418, "h": 495}
+			"rect": {"x": 421, "y": 68, "w": 210, "h": 495}
 		},
 		
 		{
 			"type": "areaFilled",
-			"rect": {"x": 430, "y": 565, "w": 397, "h": 25}
+			"rect": {"x": 411, "y": 565, "w": 196, "h": 25}
 		},
 		{
 			"name" : "messageInput",
 			"type": "textInput",
-			"rect": {"x": 440, "y": 568, "w": 377, "h": 20}
+			"rect": {"x": 421, "y": 568, "w": 176, "h": 20}
 		},
 		
 		{
 			"type": "areaFilled",
-			"rect": {"x": 870, "y": 50, "w": 150, "h": 540}
+			"rect": {"x": 646, "y": 50, "w": 150, "h": 540}
 		},
 		{
 			"name": "headerAccountList",
 			"type": "labelTitle",
-			"position": {"x": 880, "y": 53}
+			"position": {"x": 656, "y": 53}
 		},
 		{
 			"type" : "lobbyItemList",
 			"name" : "accountList",
 			"itemType" : "account",
-			"position" : { "x" : 872, "y" : 68 },
+			"position" : { "x" : 648, "y" : 68 },
 			"itemOffset" : { "x" : 0, "y" : 40 },
 			"sliderPosition" : { "x" : 130, "y" : 0 },
 			"sliderSize" : { "x" : 520, "y" : 520 },
@@ -156,7 +156,7 @@
 
 		{
 			"type": "button",
-			"position": {"x": 870, "y": 10},
+			"position": {"x": 646, "y": 10},
 			"image": "lobbyHideWindow",
 			"help": "core.help.288",
 			"callback": "closeWindow",
@@ -175,7 +175,7 @@
 		
 		{
 			"type": "button",
-			"position": {"x": 828, "y": 565},
+			"position": {"x": 610, "y": 565},
 			"image": "lobbySendMessage",
 			"help": "core.help.288",
 			"callback": "sendMessage",
@@ -191,7 +191,7 @@
 		
 		{
 			"type": "button",
-			"position": {"x": 10, "y": 555},
+			"position": {"x": 5, "y": 556},
 			"image": "lobbyCreateRoom",
 			"help": "core.help.288",
 			"callback": "createGameRoom",