From 754c08e9c271f43cd9e088ca11d36a0b0d187997 Mon Sep 17 00:00:00 2001 From: Evgeny Date: Thu, 2 Jul 2026 21:26:21 +0300 Subject: [PATCH] etcpmon: widen sockets list by ~100px (15 chars), shift action section --- tools/etcpmon/etcpmon_gui.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tools/etcpmon/etcpmon_gui.c b/tools/etcpmon/etcpmon_gui.c index ea918909..257426e1 100644 --- a/tools/etcpmon/etcpmon_gui.c +++ b/tools/etcpmon/etcpmon_gui.c @@ -231,20 +231,20 @@ static void CreateControls(struct etcpmon_app* app) { app->hListSockets = CreateWindowExA(WS_EX_CLIENTEDGE, "LISTBOX", "", WS_CHILD | WS_VISIBLE | LBS_NOTIFY | WS_VSCROLL | LBS_NOINTEGRALHEIGHT, - x + 320, y + 20, 465, 120, hWnd, (HMENU)IDC_LIST_SOCKETS, hInst, NULL); + x + 320, y + 20, 550, 120, hWnd, (HMENU)IDC_LIST_SOCKETS, hInst, NULL); /* Action input */ CreateWindowExA(0, "STATIC", "Action:", WS_CHILD | WS_VISIBLE, - x + 795, y, 80, 20, hWnd, (HMENU)IDC_STATIC, hInst, NULL); + x + 880, y, 80, 20, hWnd, (HMENU)IDC_STATIC, hInst, NULL); app->hEditAction = CreateWindowExA(WS_EX_CLIENTEDGE, "EDIT", "", WS_CHILD | WS_VISIBLE | ES_AUTOHSCROLL, - x + 795, y + 20, 140, 22, hWnd, (HMENU)IDC_EDIT_ACTION, hInst, NULL); + x + 880, y + 20, 110, 22, hWnd, (HMENU)IDC_EDIT_ACTION, hInst, NULL); app->hBtnAction = CreateWindowExA(0, "BUTTON", "Send", WS_CHILD | WS_VISIBLE | BS_PUSHBUTTON, - x + 795, y + 44, 60, 24, hWnd, (HMENU)IDC_BTN_ACTION, hInst, NULL); + x + 880, y + 44, 60, 24, hWnd, (HMENU)IDC_BTN_ACTION, hInst, NULL); /* Graph area */ y += 140;