From c2ffa714d2efdfe686a92b755e1851df0a8e86f5 Mon Sep 17 00:00:00 2001 From: Nimetu Date: Thu, 27 Sep 2018 12:36:09 +0300 Subject: [PATCH] Fixed: Wrong width for container list element --HG-- branch : develop --- code/nel/src/gui/group_container.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/code/nel/src/gui/group_container.cpp b/code/nel/src/gui/group_container.cpp index 1922db221..26a23fd9f 100644 --- a/code/nel/src/gui/group_container.cpp +++ b/code/nel/src/gui/group_container.cpp @@ -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