@@ -51,9 +51,9 @@ void MarlinUI::tft_idle() {
51
51
#if ENABLED(TOUCH_SCREEN)
52
52
if (TERN0 (HAS_TOUCH_SLEEP, lcd_sleep_task ())) return ;
53
53
if (draw_menu_navigation) {
54
- add_control (104 , TFT_HEIGHT - 34 , PAGE_UP, imgPageUp, encoderTopLine > 0 );
55
- add_control (344 , TFT_HEIGHT - 34 , PAGE_DOWN, imgPageDown, encoderTopLine + LCD_HEIGHT < screen_items);
56
- add_control (224 , TFT_HEIGHT - 34 , BACK, imgBack);
54
+ add_control (TFT_WIDTH / 6 - 16 , TFT_HEIGHT - 34 , PAGE_UP, imgPageUp, encoderTopLine > 0 );
55
+ add_control (TFT_WIDTH / 2 - 16 , TFT_HEIGHT - 34 , PAGE_DOWN, imgPageDown, encoderTopLine + LCD_HEIGHT < screen_items);
56
+ add_control (5 * TFT_WIDTH / 6 - 16 , TFT_HEIGHT - 34 , BACK, imgBack);
57
57
draw_menu_navigation = false ;
58
58
}
59
59
#endif
@@ -607,9 +607,9 @@ void MenuEditItemBase::draw_edit_screen(FSTR_P const fstr, const char * const va
607
607
608
608
void TFT::draw_edit_screen_buttons () {
609
609
#if ENABLED(TOUCH_SCREEN)
610
- add_control (64 , TFT_HEIGHT - 64 , DECREASE, imgDecrease);
611
- add_control (352 , TFT_HEIGHT - 64 , INCREASE, imgIncrease);
612
- add_control (208 , TFT_HEIGHT - 64 , CLICK, imgConfirm);
610
+ add_control ((TFT_WIDTH - 3 * 64 ) / 6 , TFT_HEIGHT - 64 , DECREASE, imgDecrease);
611
+ add_control ((TFT_WIDTH - 64 ) / 2 , TFT_HEIGHT - 64 , INCREASE, imgIncrease);
612
+ add_control ((TFT_WIDTH * 5 - 3 * 64 ) / 6 , TFT_HEIGHT - 64 , CLICK, imgConfirm);
613
613
#endif
614
614
}
615
615
@@ -1185,7 +1185,7 @@ void MarlinUI::move_axis_screen() {
1185
1185
drawAxisValue (Z_AXIS);
1186
1186
1187
1187
// ROW 4 -> step_size disable steppers back
1188
- y = TFT_HEIGHT - Y_MARGIN - 32 ; //
1188
+ y = TFT_HEIGHT - Y_MARGIN - 32 ;
1189
1189
x = TFT_WIDTH / 2 - CUR_STEP_VALUE_WIDTH / 2 ;
1190
1190
motionAxisState.stepValuePos .x = x;
1191
1191
motionAxisState.stepValuePos .y = y;
0 commit comments