mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-26 15:02:50 +02:00
CLuaInstCCWindow::CCWindowNew: use setButtonLabels real footer width
Origin commit data
------------------
Commit: c566466ff1
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2016-09-02 (Fri, 02 Sep 2016)
This commit is contained in:
@@ -161,7 +161,7 @@ int CLuaInstCCWindow::CCWindowNew(lua_State *L)
|
||||
buttons.push_back(btnSblue);
|
||||
}
|
||||
if (!buttons.empty())
|
||||
footer->setButtonLabels(buttons, (*udata)->w->getWidth()-20, ((*udata)->w->getWidth()-20) / (buttons.size()+1));
|
||||
footer->setButtonLabels(buttons, footer->getWidth(), footer->getWidth() / buttons.size());
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user