[SOLVED] Nifty labels added by code to scrollpanel buged scale

Hi,
I think I am having the same issue from the :

Using the work arround on this link make the label desapers !
I think its because I am adding the text using code :

 Element playerNameText = new TextBuilder() {{
                     font("aurulent-sans-16.fnt");
                     width("50%");
                     height("100%");
                     color("#f00f");
                     text("Hello World!");
                     textHAlignLeft();
                     valignCenter();
                 }}.build(nifty, screen, newPanel) ;

The work arorund I tried in the xml :

...
 [java][/java] 
 <screen id="start" controller="mygame.ShowMenu">
 ...
 [java]
                     <control name="scrollPanel" id="GScrollPanel3" vertical="true" height="93.0%" horizontal="false" width="100.0%" childLayout="vertical">
                         <panel id="bigPanel" style="nifty-panel-simple" height="551px" width="100%" childLayout="vertical" y="0px" x="0px">
                         </panel>
                     </control>
 [/java]

Its an panel that shows the players and their records.
Any workarround or magic trick ?

Anyone ?

http://s12.postimg.org/uie8tmbt9/Untitled.png

For anyone that gets the same issue, I fixed the problem using an style like autoscroll :

<control name="scrollPanel" id="GScrollPanel3" style="autoscroll" vertical="true" height="93.0%" horizontal="false" width="100.0%" >