[SOLVED] Widgetpositions after minimizing

qwertzui11

27-12-2008 12:44:05

Hi all

As u can see at the screenshots, after minimizing the application, the wiget's position gets reseted.

If the wigets r in a window, everthing works perfect.

Markus

Altren

27-12-2008 14:40:51

Hm, it looks strange. What align your widgets have?

qwertzui11

27-12-2008 17:02:19

I init them with:
createWidget<MyGUI::StaticText>("StaticText", x, y, x2, y2, MyGUI::ALIGN_LEFT, "Back");
I changed to
createWidget<MyGUI::StaticText>("StaticText", x, y, x2, y2, MyGUI::ALIGN_LEFT_BOTTOM, "Back");
and
createWidget<MyGUI::StaticText>("StaticText", x, y, x2, y2, MyGUI::ALIGN_LEFT_TOP, "Back");
now it works perfectly!

Thx for help!

Maybe you should add ALIGN_TOP as inital value =)

Markus