etcpmon: lift Router to y=1181 (tight to Queues), shrink window to 1400

This commit is contained in:
Evgeny committed 2026-07-02 10:33:41 +03:00
1 parent 127d772e51
commit 03310fc730
1 file changed
+2 -2
+2 -2
View File
@@ -20,7 +20,7 @@
//#pragma comment(lib, "user32.lib")
//#pragma comment(lib, "gdi32.lib")
#define WINDOW_WIDTH 1000
#define WINDOW_HEIGHT 1440
#define WINDOW_HEIGHT 1400
#define WINDOW_CLIENT_W 1250
#define UPDATE_INTERVAL 10 /* 50ms → 20 samples per second */
/* Global app pointer for callbacks */
@@ -754,7 +754,7 @@ static void CreateControls(struct etcpmon_app* app) {
* Router Congestion group — below Queues & Errors
* ======================================================================== */
{
int ry = 1240;
int ry = 1181;
int r_col1 = 20, r_col2 = 260, r_col3 = 500, r_col4 = 740;
int lw = 85, ew = 70; /* label width, edit width */
CreateWindowExA(0, "BUTTON", "Router Congestion",