Bug with moving controls + disabled

magistr

17-12-2007 23:40:52

I have button.
I am set this button disabled, after I am move this button programmaticaly.
Button image is mooved, but text is not.

For compleete move I am use this:
bool isEnable = btn->enabled();
if (!isEnable)
btn->enable();
btn->setPosition(CurrentPosition, yPos);
MonopolistApp::getSingletonPtr()->GetGUIManager()->injectMouseMove(0,0);

if (!isEnable)
btn->disable();

For disabled buttons I am set enable, and after mooving I restore disable

kungfoomasta

18-12-2007 00:17:51

Thanks for bringing this up, I will look into it, maybe tonight I'll find some time.

kungfoomasta

23-12-2007 22:30:35

Fixed in SVN.