diff --git a/src/gui/widget/components.h b/src/gui/widget/components.h index 588a0bdde..c46c16e87 100644 --- a/src/gui/widget/components.h +++ b/src/gui/widget/components.h @@ -63,6 +63,7 @@ class CComponentsDetailLine : public CComponents void hide(); void setColor(fb_pixel_t color1, fb_pixel_t color2){col1 = color1; col2 = color2;}; void setYPosDown(const int& y_pos_down){y_down = y_pos_down;}; + void setHMarkDown(const int& h_mark_down_){h_mark_down = h_mark_down_;}; }; class CComponentsInfoBox : public CComponents diff --git a/src/gui/widget/menue.cpp b/src/gui/widget/menue.cpp index c84e1a68a..784d0088d 100644 --- a/src/gui/widget/menue.cpp +++ b/src/gui/widget/menue.cpp @@ -1113,8 +1113,12 @@ printf("paintHint: icon %s text %s\n", item->hintIcon.c_str(), g_Locale->getText if (details_line == NULL) details_line = new CComponentsDetailLine(xpos, ypos1a, ypos2a, imarkh, markh); - else + else { + details_line->setXPos(xpos); details_line->setYPos(ypos1a); + details_line->setYPosDown(ypos2a); + details_line->setHMarkDown(markh); + } details_line->paint(); if (info_box == NULL)