TGUI Forum

General Category => General Discussion => Topic started by: Jeanne-Kamikaze on 23 May 2014, 12:26:21

Title: Tutorial typo?
Post by: Jeanne-Kamikaze on 23 May 2014, 12:26:21
Hi,

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

Code: [Select]
button->load("TGUI/widgets/Button/Black");
the application hangs loading the button theme/style. However, if I replace that line with

Code: [Select]
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.
Title: Re: Tutorial typo?
Post by: texus on 23 May 2014, 12:28:20
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.