@@ -32,7 +32,8 @@ bool dx_info_for_sat; // global to indicate whether dx_info_b
3232#define SAT_TOUCH_R 20U // touch radius, pixels
3333#define SAT_UP_R 2 // dot radius when up
3434#define PASS_STEP 10 .0F // pass step size, seconds
35- #define TBORDER 50 // top border
35+ #define TBORDER 94 // top border
36+ #define HDR_TXT_Y 37 // fixed y for header title/legend text, indep of TBORDER
3637#define FONT_H (dx_info_b.h/6 ) // height for SMALL_FONT
3738#define FONT_D 5 // font descent
3839#define SAT_COLOR RA8875_WHITE // overall annotation color
@@ -42,7 +43,7 @@ bool dx_info_for_sat; // global to indicate whether dx_info_b
4243#define GONE_COLOR RGB565 (255 ,90 ,90 ) // table text color for a sat that has gone missing
4344#define SOON_MINS 10 // "soon", minutes
4445#define CB_SIZE 20 // size of selection check box
45- #define CELL_H 32 // display cell height
46+ #define CELL_H 29 // display cell height
4647#define N_COLS 4 // n cols in name table
4748#define CELL_W (800 /N_COLS ) // display cell width
4849#define N_ROWS ((480 -TBORDER )/CELL_H ) // n rows in name table
@@ -1098,7 +1099,7 @@ static int askSat (char selections[MAX_ACTIVE_SATS][NV_SATNAME_LEN])
10981099 tft.setTextColor (RA8875_WHITE );
10991100
11001101 // show title and prompt
1101- uint16_t title_y = 3 * TBORDER / 4 ;
1102+ uint16_t title_y = HDR_TXT_Y ;
11021103 selectFontStyle (BOLD_FONT , SMALL_FONT );
11031104 tft.setCursor (5 , title_y);
11041105 tft.print (" Select satellites (two)" );
0 commit comments