From 08488a136364e83368aa3083cf49072d8f09e8aa Mon Sep 17 00:00:00 2001 From: Gwenhael Le Moine Date: Wed, 30 Oct 2024 15:50:23 +0100 Subject: [PATCH] bit less harddcode --- src/x49gpng/ui.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/x49gpng/ui.c b/src/x49gpng/ui.c index a5d7e5d..4c04e88 100644 --- a/src/x49gpng/ui.c +++ b/src/x49gpng/ui.c @@ -3300,7 +3300,7 @@ static int gui_load( x49gp_module_t* module, GKeyFile* keyfile ) ui->lcd_y_offset = 48; // 69; ui->kb_x_offset = 10; // 36; - ui->kb_y_offset = 280; // 301; + ui->kb_y_offset = ui->lcd_y_offset + ui->lcd_height + 56;// 280; // 301; ui->window = gtk_window_new( GTK_WINDOW_TOPLEVEL ); gtk_widget_set( ui->window, "can-focus", true, NULL );