From df0c85db8f3cf2afb44cea16165195de4c9323b4 Mon Sep 17 00:00:00 2001 From: zxkmmOnHaseeWSL Date: Fri, 21 Apr 2023 21:21:51 +0800 Subject: [PATCH 1/3] touchable title --- firmware/application/ui_navigation.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/firmware/application/ui_navigation.hpp b/firmware/application/ui_navigation.hpp index a1a0b5d0..b0e4a244 100644 --- a/firmware/application/ui_navigation.hpp +++ b/firmware/application/ui_navigation.hpp @@ -125,7 +125,7 @@ namespace ui Color::dark_grey()}; ImageButton button_back{ - {2, 0 * 16, 16, 16}, + {0, 0 * 16, 16 * 8, 16},//back button is long enough to cover the title area to make it easier to touch &bitmap_icon_previous, Color::white(), Color::dark_grey()}; From 193a80edea701d3ac73712692df6cb23c0cb3973 Mon Sep 17 00:00:00 2001 From: zxkmmOnHaseeWSL Date: Sat, 22 Apr 2023 13:02:41 +0800 Subject: [PATCH 2/3] smaller touchable title --- firmware/application/ui_navigation.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/firmware/application/ui_navigation.hpp b/firmware/application/ui_navigation.hpp index b0e4a244..4e2c7e5f 100644 --- a/firmware/application/ui_navigation.hpp +++ b/firmware/application/ui_navigation.hpp @@ -125,7 +125,7 @@ namespace ui Color::dark_grey()}; ImageButton button_back{ - {0, 0 * 16, 16 * 8, 16},//back button is long enough to cover the title area to make it easier to touch + {0, 0 * 16, 15 * 8, 16},//back button is long enough to cover the title area to make it easier to touch &bitmap_icon_previous, Color::white(), Color::dark_grey()}; From ed0f0eb15ee1fc63bad09c705f0e42f7dca3810e Mon Sep 17 00:00:00 2001 From: zxkmmOnHaseeWSL Date: Sat, 22 Apr 2023 13:31:27 +0800 Subject: [PATCH 3/3] touchable title, little width adjust again... sorry --- firmware/application/ui_navigation.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/firmware/application/ui_navigation.hpp b/firmware/application/ui_navigation.hpp index 4e2c7e5f..aecce49f 100644 --- a/firmware/application/ui_navigation.hpp +++ b/firmware/application/ui_navigation.hpp @@ -125,7 +125,7 @@ namespace ui Color::dark_grey()}; ImageButton button_back{ - {0, 0 * 16, 15 * 8, 16},//back button is long enough to cover the title area to make it easier to touch + {0, 0 * 16, 12 * 8, 16},//back button is long enough to cover the title area to make it easier to touch &bitmap_icon_previous, Color::white(), Color::dark_grey()};