etcpmon: fix layout — restore Debug Levels y=485, lift Links to y=710, compress Queues h=300 y=900
This commit is contained in:
1 parent
8427e18c98
commit
fefd2bcc52
1 file changed
+4
-4
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user