Updated libopenui
And fix the view main menu issue with this PR.
This commit is contained in:
committed by
Raphael Coeffic
parent
09630ed4ff
commit
efdf76a9f5
@@ -36,14 +36,10 @@ void SelectFabCarousel::setMaxButtons(uint8_t max)
|
||||
void SelectFabCarousel::addButton(uint8_t icon, const char* title,
|
||||
std::function<uint8_t(void)> pressHandler)
|
||||
{
|
||||
coord_t y_pos = 0;//SELECT_BUTTON_BORDER;
|
||||
coord_t x_pos = pageWidth * buttons;// + SELECT_BUTTON_BORDER / 2;
|
||||
coord_t y_pos = 0;
|
||||
coord_t x_pos = pageWidth * buttons;
|
||||
buttons++;
|
||||
|
||||
/*auto button =*/ new SelectFabButton(this, x_pos, y_pos, icon, title, pressHandler);
|
||||
new SelectFabButton(this, x_pos, y_pos, icon, title, pressHandler);
|
||||
setInnerWidth(pageWidth * buttons);
|
||||
|
||||
// y_pos += button->width() + SELECT_BUTTON_BORDER;
|
||||
// setHeight(y_pos);
|
||||
// setInnerHeight(y_pos);
|
||||
}
|
||||
|
||||
Vendored
+1
-1
Submodule radio/src/thirdparty/libopenui updated: 1c558559eb...1930a03088
Reference in New Issue
Block a user