mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-30 08:51:04 +02:00
cc_frm_footer: auto-calc label_width by default
Origin commit data
------------------
Commit: b4fffee31b
Author: vanhofen <vanhofen@gmx.de>
Date: 2017-06-19 (Mon, 19 Jun 2017)
Origin message was:
------------------
- cc_frm_footer: auto-calc label_width by default
This commit is contained in:
@@ -336,7 +336,7 @@ void CComponentsFooter::paintButtons(const int& x_pos,
|
|||||||
this->setDimensionsAll(x_pos, y_pos, w, h);
|
this->setDimensionsAll(x_pos, y_pos, w, h);
|
||||||
this->setButtonFont(font);
|
this->setButtonFont(font);
|
||||||
this->setContextButton(context_buttons);
|
this->setContextButton(context_buttons);
|
||||||
this->setButtonLabels(content, label_count, 0, label_width);
|
this->setButtonLabels(content, label_count, 0, label_width ? label_width : w/label_count);
|
||||||
this->paint(do_save_bg);
|
this->paint(do_save_bg);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user