[FL-1371][FL-1502] Lfrfid app: fixes. (#555)
* Gui module byte-input: changed api * Gui: changed font height in multiline text according to guideline * Apps lrfid, nfc: changed send and receive icon * App lfrfid: fix text, fix scene switсh * Elements: multiline text framed, fix paddings * Gui: remove duplicate definition of elements_multiline_text_framed * App NFC: update byte_input callback signature * App subghz: fix text lines in capture scene * App subghz: position of the text is aligned with the guidelines and other scenes * App subghz: removed mockup Co-authored-by: Aleksandr Kutuzov <alleteam@gmail.com>
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
#include "string-element.h"
|
||||
#include <gui/elements.h>
|
||||
|
||||
StringElement::StringElement() {
|
||||
}
|
||||
@@ -9,7 +10,7 @@ StringElement::~StringElement() {
|
||||
void StringElement::draw(Canvas* canvas) {
|
||||
if(text) {
|
||||
canvas_set_font(canvas, font);
|
||||
canvas_draw_str_aligned(canvas, x, y, horizontal, vertical, text);
|
||||
elements_multiline_text_aligned(canvas, x, y, horizontal, vertical, text);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user