Merge branch 'ni/tuxbox' into ni/mp/tuxbox

Origin commit data
------------------
Commit: 98edb55233
Author: vanhofen <vanhofen@gmx.de>
Date: 2017-06-26 (Mon, 26 Jun 2017)
This commit is contained in:
vanhofen
2017-06-26 22:51:58 +02:00
31 changed files with 187 additions and 170 deletions

View File

@@ -336,7 +336,7 @@ void CComponentsFooter::paintButtons(const int& x_pos,
this->setDimensionsAll(x_pos, y_pos, w, h);
this->setButtonFont(font);
this->setContextButton(context_buttons);
this->setButtonLabels(content, label_count, 0, label_width ? label_width : w/label_count);
this->setButtonLabels(content, label_count, 0, label_width ? label_width : (w/label_count) - 2*cch_offset);
this->paint(do_save_bg);
}