fix: tabs group header border and no focus

This commit is contained in:
Raphael Coeffic
2022-06-11 15:38:08 +02:00
committed by Raphael Coeffic
parent ac37332ee2
commit 1219c676ef
+2 -1
View File
@@ -35,7 +35,7 @@
TabsGroupHeader::TabsGroupHeader(TabsGroup* parent, uint8_t icon) : TabsGroupHeader::TabsGroupHeader(TabsGroup* parent, uint8_t icon) :
FormGroup(parent, {0, 0, LCD_W, MENU_BODY_TOP}, OPAQUE), FormGroup(parent, {0, 0, LCD_W, MENU_BODY_TOP}, NO_FOCUS | OPAQUE),
#if defined(HARDWARE_TOUCH) #if defined(HARDWARE_TOUCH)
back( back(
this, this,
@@ -49,6 +49,7 @@ TabsGroupHeader::TabsGroupHeader(TabsGroup* parent, uint8_t icon) :
icon(icon), icon(icon),
carousel(this, parent) carousel(this, parent)
{ {
lv_obj_set_style_border_width(lvobj, 0, LV_PART_MAIN);
} }
void TabsGroupHeader::paint(BitmapBuffer* dc) void TabsGroupHeader::paint(BitmapBuffer* dc)