Revert "CTimerList: adjust label width in footer dependent by count of buttons"

This reverts commit d8caaaf758.


Origin commit data
------------------
Commit: 3dbbd378f0
Author: vanhofen <vanhofen@gmx.de>
Date: 2017-08-28 (Mon, 28 Aug 2017)
This commit is contained in:
vanhofen
2017-08-28 13:18:35 +02:00
parent 64edcce085
commit 3ad81e8d39

View File

@@ -1420,9 +1420,9 @@ void CTimerList::paintFoot()
footer.enableShadow(CC_SHADOW_ON, -1, true); footer.enableShadow(CC_SHADOW_ON, -1, true);
if (timerlist.empty()) if (timerlist.empty())
footer.paintButtons(x, y + height - OFFSET_SHADOW - footer_height, width, footer_height, 2, &(TimerListButtons[1]), width/(2+1)); footer.paintButtons(x, y + height - OFFSET_SHADOW - footer_height, width, footer_height, 2, &(TimerListButtons[1]));
else else
footer.paintButtons(x, y + height - OFFSET_SHADOW - footer_height, width, footer_height, c, TimerListButtons, width/(c-1)); footer.paintButtons(x, y + height - OFFSET_SHADOW - footer_height, width, footer_height, c, TimerListButtons);
} }
void CTimerList::paint() void CTimerList::paint()