From 2ed4784333e5952d75c913f8911b10fb5ba7bbf7 Mon Sep 17 00:00:00 2001 From: vanhofen Date: Mon, 26 Jun 2017 15:32:32 +0200 Subject: [PATCH] Revert "- cc_frm_footer: auto-calc label_width by default" This reverts commit e259a9dd0790f4278d0b6ce18bbdace5bdba1ac0. Origin commit data ------------------ Commit: https://github.com/neutrino-images/ni-neutrino/commit/5cbdf990fb71388d82af41ca8537f71415f084a9 Author: vanhofen Date: 2017-06-26 (Mon, 26 Jun 2017) --- src/gui/components/cc_frm_footer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/components/cc_frm_footer.cpp b/src/gui/components/cc_frm_footer.cpp index e5badffec..74b48d754 100644 --- a/src/gui/components/cc_frm_footer.cpp +++ b/src/gui/components/cc_frm_footer.cpp @@ -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); this->paint(do_save_bg); }