Fixed: Wrong width for container list element
--HG-- branch : develop
This commit is contained in:
parent
4f7c082a4a
commit
c2ffa714d2
1 changed files with 4 additions and 1 deletions
|
@ -2473,7 +2473,7 @@ namespace NLGUI
|
|||
|
||||
if (_LayerSetup == 0)
|
||||
{
|
||||
_List->forceSizeW(_W - pLayer->W_M_Open);
|
||||
_List->forceSizeW(_W - (pLayer->W_M_Open + pLayer->W_R) );
|
||||
}
|
||||
else
|
||||
{
|
||||
|
@ -2748,6 +2748,9 @@ namespace NLGUI
|
|||
if (_Content != NULL)
|
||||
h += _Content->getHReal();
|
||||
|
||||
if (_List != NULL)
|
||||
h += _List->getHReal();
|
||||
|
||||
h -= _ContentYOffset;
|
||||
}
|
||||
else
|
||||
|
|
Loading…
Reference in a new issue