mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-29 08:21:07 +02:00
src/gui/lua/lua_cc_window.cpp use setButtonLabels real window width
Origin commit data
------------------
Branch: ni/coolstream
Commit: 52d16769f1
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2016-08-22 (Mon, 22 Aug 2016)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
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, dx-20, (dx-20) / (buttons.size()+1));
|
||||
footer->setButtonLabels(buttons, (*udata)->w->getWidth()-20, ((*udata)->w->getWidth()-20) / (buttons.size()+1));
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user