GUI: Add ThemeLayoutTabWidget
This commit is contained in:
parent
24963ac97d
commit
0ae4409138
6 changed files with 58 additions and 13 deletions
|
@ -51,10 +51,7 @@ void ScrollContainerWidget::init() {
|
|||
|
||||
void ScrollContainerWidget::recalc() {
|
||||
int scrollbarWidth = g_gui.xmlEval()->getVar("Globals.Scrollbar.Width", 0);
|
||||
|
||||
//calculate _limitH - available height (boss's height - boss's "offset")
|
||||
int d = _boss->getChildY() - _boss->getAbsY();
|
||||
_limitH = _boss->getHeight() - d;
|
||||
_limitH = _h;
|
||||
|
||||
//calculate virtual height
|
||||
const int spacing = g_gui.xmlEval()->getVar("Global.Font.Height", 16); //on the bottom
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue