Ok, the changes are in GIT. So they should be in the nifty nightly tomorrow.
The tabs control now has 2 mandatory attributes: buttonWidth and buttonHeight.
Both take either a % or px value. If you don’t add either attribute you will get a NullPointerException. This Exception might change in the near future. I’m thinking of setting up a more fitting MissingAttributeException but I will need to talk to @void256 about that first to figure out where in the Nifty codebase to put that one. It will also be a RunTimeException though, just like NullPointerException, so changing that one shouldn’t give to much trouble.
Ok, the buttonWidth and buttonHeight attributes are no longer mandatory. The button width is now automatiaclly scaled to the text size (defaut button behaviour). The button height defaults to 25px.
very nice!
cool!
thanks
Nifty wiki is updated as well to show the change.
@glaucomardano said: read the manual.
well if someone read the manual, he will directly see that it is pointless and lacks of so many toppics
they dont even talk abot scroll bars nor tab panel, so… what an unconsidered/judging/automatic/nerdy advice
@rompelstilchen said: well if someone read the manual, he will directly see that it is pointless and lacks of so many toppics they dont even talk abot scroll bars nor tab panel, so... what an unconsidered/judging/automatic/nerdy advice
“Reading the manual” doesn’t mean “searching for the topic you have in mind”. The latter only gets you to this conclusion and hence leaves you clueless. The former would lead you to a more thorough understanding and at the same time to the nifty manual which covers everything in detail:
http://sourceforge.net/projects/nifty-gui/files/nifty-gui/1.3.2/nifty-gui-the-manual-1.3.2.pdf/download