From fefd2bcc5244376af06f1bb875a374a225c0c712 Mon Sep 17 00:00:00 2001 From: Evgeny Date: Thu, 2 Jul 2026 10:29:58 +0300 Subject: [PATCH] =?UTF-8?q?etcpmon:=20fix=20layout=20=E2=80=94=20restore?= =?UTF-8?q?=20Debug=20Levels=20y=3D485,=20lift=20Links=20to=20y=3D710,=20c?= =?UTF-8?q?ompress=20Queues=20h=3D300=20y=3D900?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 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 5bb1c6bb..c6bfadc3 100644 --- a/tools/etcpmon/etcpmon_gui.c +++ b/tools/etcpmon/etcpmon_gui.c @@ -501,7 +501,7 @@ static void CreateControls(struct etcpmon_app* app) { mx + 130+50, my - 2, 45, 18, hWnd, (HMENU)IDC_EDIT_RT_BGP_NODES, hInst, NULL); /* Links list */ - y = 725; + y = 710; CreateWindowExA(0, "STATIC", "Links:", WS_CHILD | WS_VISIBLE, 10, y, 100, 20, hWnd, (HMENU)IDC_STATIC, hInst, NULL); @@ -511,10 +511,10 @@ static void CreateControls(struct etcpmon_app* app) { 10, y + 20, WINDOW_WIDTH - 20, 160, hWnd, (HMENU)IDC_LIST_LINKS, hInst, NULL); /* Queues & Errors group - below Links */ - y = 915; + y = 900; CreateWindowExA(0, "BUTTON", "Queues & Errors", WS_CHILD | WS_VISIBLE | BS_GROUPBOX, - 10, y, WINDOW_WIDTH - 20, 335, hWnd, (HMENU)IDC_STATIC_QUEUES, hInst, NULL); + 10, y, WINDOW_WIDTH - 20, 300, hWnd, (HMENU)IDC_STATIC_QUEUES, hInst, NULL); int qy = y + 22; int q_col1 = 20; @@ -800,7 +800,7 @@ static void CreateControls(struct etcpmon_app* app) { * Debug Levels section — right column * ======================================================================== */ { - int dy = 645; + int dy = 485; app->hDebugGroupBox = CreateWindowExA(0, "BUTTON", "Debug Levels", WS_CHILD | WS_VISIBLE | BS_GROUPBOX, 1005, dy, 240, 545, hWnd, (HMENU)IDC_STATIC, hInst, NULL);