From f060d005f4d7f78f1eb1578d45ca0ff773c7153f Mon Sep 17 00:00:00 2001 From: hedger Date: Tue, 21 Jun 2022 16:25:05 +0300 Subject: [PATCH] [FL-2511] Updater: fixed long update descriptions overlapping UI elements #1327 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: あく --- applications/updater/scenes/updater_scene_loadcfg.c | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/applications/updater/scenes/updater_scene_loadcfg.c b/applications/updater/scenes/updater_scene_loadcfg.c index 8e477b14..1fd87d00 100644 --- a/applications/updater/scenes/updater_scene_loadcfg.c +++ b/applications/updater/scenes/updater_scene_loadcfg.c @@ -29,14 +29,16 @@ void updater_scene_loadcfg_on_enter(void* context) { widget_add_string_element( updater->widget, 64, 12, AlignCenter, AlignCenter, FontPrimary, "Update"); - widget_add_string_multiline_element( + widget_add_text_box_element( updater->widget, - 64, + 5, + 20, + 118, 32, AlignCenter, AlignCenter, - FontSecondary, - string_get_cstr(pending_upd->manifest->version)); + string_get_cstr(pending_upd->manifest->version), + true); widget_add_button_element( updater->widget,