ThemeLayout::getParentW was calling getHeight instead of getWidth by mistake (though this didn't seem to cause any problems anywhere... ?)
svn-id: r35547
This commit is contained in:
parent
c9105aa58f
commit
c59f5919a2
1 changed files with 1 additions and 1 deletions
|
@ -71,7 +71,7 @@ int16 ThemeLayout::getParentW() {
|
|||
width += p->_paddingRight + p->_paddingLeft;
|
||||
if (p->getLayoutType() == kLayoutHorizontal) {
|
||||
for (uint i = 0; i < p->_children.size(); ++i)
|
||||
width += p->_children[i]->getHeight() + p->_spacing;
|
||||
width += p->_children[i]->getWidth() + p->_spacing;
|
||||
}
|
||||
p = p->_parent;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue