From 4da8e07cb08bff3559e1b2cbb7c87082a72a3243 Mon Sep 17 00:00:00 2001 From: oiad Date: Tue, 23 Aug 2016 23:25:46 +1200 Subject: [PATCH] Plot/Door management userlist fix This fixes the userlist from overflowing onto the Add button when there's too many users in the userlist. --- .../Configs/RscDisplay/doorManagement/doorManagement.hpp | 6 +++--- SQF/dayz_code/Configs/RscDisplay/plotManagement.hpp | 7 +++---- 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/SQF/dayz_code/Configs/RscDisplay/doorManagement/doorManagement.hpp b/SQF/dayz_code/Configs/RscDisplay/doorManagement/doorManagement.hpp index 53c72bb7b..ae8886d81 100644 --- a/SQF/dayz_code/Configs/RscDisplay/doorManagement/doorManagement.hpp +++ b/SQF/dayz_code/Configs/RscDisplay/doorManagement/doorManagement.hpp @@ -40,7 +40,7 @@ class DoorManagement idc = 7104; text = $STR_EPOCH_ADD; x = 0.33 * safezoneW + safezoneX; - y = 0.70 * safezoneH + safezoneY; + y = 0.72 * safezoneH + safezoneY; w = 0.08 * safezoneW; onButtonClick = "[lbData [7101,lbCurSel 7101]] call DoorAddFriend;"; }; @@ -50,7 +50,7 @@ class DoorManagement idc = 7105; text = $STR_EPOCH_DELETE; x = 0.47 * safezoneW + safezoneX; - y = 0.70 * safezoneH + safezoneY; + y = 0.72 * safezoneH + safezoneY; w = 0.08 * safezoneW; onButtonClick = "[(lbCurSel 7102)] call DoorRemoveFriend;"; }; @@ -60,7 +60,7 @@ class DoorManagement idc = 7106; text = $STR_UI_CLOSE; x = 0.40 * safezoneW + safezoneX; - y = 0.74 * safezoneH + safezoneY; + y = 0.75 * safezoneH + safezoneY; w = 0.08 * safezoneW; onButtonClick = "((ctrlParent (_this select 0)) closeDisplay 9000);"; }; diff --git a/SQF/dayz_code/Configs/RscDisplay/plotManagement.hpp b/SQF/dayz_code/Configs/RscDisplay/plotManagement.hpp index 0d619ddca..10779ca25 100644 --- a/SQF/dayz_code/Configs/RscDisplay/plotManagement.hpp +++ b/SQF/dayz_code/Configs/RscDisplay/plotManagement.hpp @@ -64,7 +64,6 @@ class PlotManagement w = 0.30 * safezoneW; h = 0.05 * safezoneH; colorText[] = {1,1,1,1}; - }; class RscText_7014: RscStructuredText @@ -140,7 +139,7 @@ class PlotManagement idc = -1; text = $STR_EPOCH_ADD; x = 0.33 * safezoneW + safezoneX; - y = 0.70 * safezoneH + safezoneY; + y = 0.72 * safezoneH + safezoneY; w = 0.08 * safezoneW; onButtonClick = "[lbData [7001,lbCurSel 7001]] call PlotAddFriend;"; }; @@ -150,7 +149,7 @@ class PlotManagement idc = -1; text = $STR_EPOCH_DELETE; x = 0.47 * safezoneW + safezoneX; - y = 0.70 * safezoneH + safezoneY; + y = 0.72 * safezoneH + safezoneY; w = 0.08 * safezoneW; onButtonClick = "[(lbCurSel 7002)] call PlotRemoveFriend;"; }; @@ -160,7 +159,7 @@ class PlotManagement idc = -1; text = $STR_UI_CLOSE; x = 0.40 * safezoneW + safezoneX; - y = 0.74 * safezoneH + safezoneY; + y = 0.75 * safezoneH + safezoneY; w = 0.08 * safezoneW; onButtonClick = "((ctrlParent (_this select 0)) closeDisplay 9000);"; };