Tutorial typo?

Started by Jeanne-Kamikaze, 23 May 2014, 12:26:21

Jeanne-Kamikaze

Hi,

I was following the tutorial on version 0.6 here: https://tgui.eu/tutorials/v06/intro2/. When doing

button->load("TGUI/widgets/Button/Black");

the application hangs loading the button theme/style. However, if I replace that line with

button->load("TGUI/widgets/Black.conf");

just like it's done for the edit box, then it all works fine.

Is this a typo in the tutorial?

Thanks.

texus

Yes, this is indeed a typo (the code was like that in v0.5), thanks for reporting.

It will be fixed in the next few minutes.