mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-02 18:31:12 +02:00
Revert "CTimerList: adjust label width in footer dependent by count of buttons"
This reverts commitd8caaaf758
. Origin commit data ------------------ Commit:3dbbd378f0
Author: vanhofen <vanhofen@gmx.de> Date: 2017-08-28 (Mon, 28 Aug 2017)
This commit is contained in:
@@ -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()
|
||||||
|
Reference in New Issue
Block a user