@@ -1353,7 +1353,7 @@ function createListDialog()
1353
1353
listWindow = guiCreateWindow (screenWidth / 2 - 541 / 2 ,screenHeight / 2 - 352 / 2 ,541 ,352 ," " ,false )
1354
1354
guiWindowSetMovable (listWindow ,false )
1355
1355
guiWindowSetSizable (listWindow ,false )
1356
- listGrid = guiCreateGridList (9 , 19 , 523 , 300 , false ,listWindow )
1356
+ listGrid = guiCreateGridList (0.0 , 0.1 , 1.0 , 0.8 , true ,listWindow )
1357
1357
guiGridListSetSelectionMode (listGrid ,2 )
1358
1358
guiGridListSetScrollBars (listGrid , true , true )
1359
1359
listColumn = guiGridListAddColumn (listGrid , " List" , 0.85 )
@@ -1369,10 +1369,10 @@ function createInputDialog()
1369
1369
inputWindow = guiCreateWindow (screenWidth / 2 - 541 / 2 ,screenHeight / 2 - 352 / 2 ,541 ,352 ," " ,false )
1370
1370
guiWindowSetMovable (listWindow ,false )
1371
1371
guiWindowSetSizable (listWindow ,false )
1372
- inputLabel = guiCreateLabel (9 , 19 , 523 , 270 , " " , false , inputWindow )
1373
- inputEdit = guiCreateEdit (9 , 290 , 523 , 30 ," " ,false ,inputWindow )
1374
- inputButton1 = guiCreateButton (10 , 323 , 256 , 20 ," " ,false ,inputWindow )
1375
- inputButton2 = guiCreateButton (281 , 323 , 256 , 20 ," " ,false ,inputWindow )
1372
+ inputLabel = guiCreateLabel (0.1 , 0.1 , 1.0 , 0.8 , " " , true , inputWindow )
1373
+ inputEdit = guiCreateEdit (0.0 , 0.7 , 1.0 , 0.1 ," " ,true ,inputWindow )
1374
+ inputButton1 = guiCreateButton (0.3 , 0.9 , 0.15 , 0.1 ," " ,true ,inputWindow ) -- x, y, width, height
1375
+ inputButton2 = guiCreateButton (0.5 , 0.9 , 0.15 , 0.1 ," " ,true ,inputWindow )
1376
1376
guiSetVisible (inputWindow , false )
1377
1377
addEventHandler (" onClientGUIClick" , inputButton1 , OnInputDialogButton1Click , false )
1378
1378
addEventHandler (" onClientGUIClick" , inputButton2 , OnInputDialogButton2Click , false )
@@ -1383,9 +1383,9 @@ function createMessageDialog()
1383
1383
msgWindow = guiCreateWindow (screenWidth / 2 - 541 / 2 ,screenHeight / 2 - 352 / 2 ,541 ,352 ," " ,false )
1384
1384
guiWindowSetMovable (msgWindow ,false )
1385
1385
guiWindowSetSizable (msgWindow ,false )
1386
- msgLabel = guiCreateLabel (9 , 19 , 523 , 300 , " " , false , msgWindow )
1387
- msgButton1 = guiCreateButton (10 , 323 , 256 , 20 ," " ,false ,msgWindow )
1388
- msgButton2 = guiCreateButton (281 , 323 , 256 , 20 ," " ,false ,msgWindow )
1386
+ msgLabel = guiCreateLabel (0.0 , 0.1 , 1.0 , 0.7 , " " , true , msgWindow )
1387
+ msgButton1 = guiCreateButton (0.3 , 0.9 , 0.15 , 0.1 ," " ,true ,msgWindow ) -- x, y, width, height
1388
+ msgButton2 = guiCreateButton (0.5 , 0.9 , 0.15 , 0.1 ," " ,true ,msgWindow )
1389
1389
guiSetVisible (msgWindow , false )
1390
1390
addEventHandler (" onClientGUIClick" , msgButton1 , OnMessageDialogButton1Click , false )
1391
1391
addEventHandler (" onClientGUIClick" , msgButton2 , OnMessageDialogButton2Click , false )
0 commit comments