From e1e1ac5d201517282eec55c022c431d0736a19bd Mon Sep 17 00:00:00 2001 From: IgorTimofeev Date: Tue, 2 Jan 2024 20:59:02 +0300 Subject: [PATCH] =?UTF-8?q?=D0=A2=D0=B0=D0=BA,=20=D0=B2=D1=80=D0=BE=D0=B4?= =?UTF-8?q?=D0=B5=20=D0=B1=D1=8B=20=D0=B2=D1=81=D0=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Libraries/System.lua | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/Libraries/System.lua b/Libraries/System.lua index 225293eb..22384358 100755 --- a/Libraries/System.lua +++ b/Libraries/System.lua @@ -2062,15 +2062,18 @@ end -------------------------------------------------------------------------------- function system.addPropertiesWindow(x, y, width, icon) - local workspace, window = system.addWindow(GUI.titledWindow(x, y, width, 1, localization.properties), true, true) + local workspace, window = system.addWindow(GUI.filledWindow(x, y, width, 1, 0x1E1E1E), true, true) + + window:addChild(GUI.label(1, 1, width, 1, 0xE1E1E1, localization.properties)):setAlignment(GUI.ALIGNMENT_HORIZONTAL_CENTER, GUI.ALIGNMENT_VERTICAL_TOP) + window.actionButtons.localY = 1 + window.actionButtons:moveToFront() - window.backgroundPanel.colors.transparency = userSettings.interfaceTransparencyEnabled and 0.2 window:addChild(GUI.image(2, 3, icon.image)) local x, y = 11, 3 local function addKeyAndValue(key, value) - local object = window:addChild(GUI.keyAndValue(x, y, 0x3C3C3C, 0x5A5A5A, key, ": " .. value)) + local object = window:addChild(GUI.keyAndValue(x, y, 0x969696, 0x5A5A5A, key, ": " .. value)) y = y + 1 return object