Merge branch 'cst-next' of git://coolstreamtech.de/cst-public-gui-neutrino into ni/cst-next

Origin commit data
------------------
Commit: 46e264ec27
Author: vanhofen <vanhofen@gmx.de>
Date: 2016-09-04 (Sun, 04 Sep 2016)
This commit is contained in:
vanhofen
2016-09-04 22:16:42 +02:00

View File

@@ -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());
}
}