Welcome, Guest. Please login or register.

Login with username, password and session length

 
Advanced search

11991 Posts in 1587 Topics- by 3507 Members - Latest Member: PienueDut

26. May 2012, 12:36:58 pm
Xith3D CommunityGeneral CategorySupport (Moderator: Marvin Fröhlich)Moving HUD widgets problem
Pages: [1]
Print
Author Topic: Moving HUD widgets problem  (Read 310 times)
hawkwind
Getting respectable
***
Offline Offline

Posts: 363



View Profile Email
« on: 14. October 2009, 06:36:47 pm »

Marvin,

   I move various panels about the screen as part of my UI.  I have the latest source and am seeing the following.   Sometimes when I set a widgets location,  do a widget.update(), all from within and interval, the next cycle through the widget position is unchanged.  I even overrode the setlocation method with the "force" arg, to try and force it, same results.  Any thoughts?? Huh
Logged
Marvin Fröhlich
Xith Lord
Administrator
Guru
*****
Offline Offline

Posts: 4381


May the 4th, be with you...


View Profile
« Reply #1 on: 14. October 2009, 10:23:44 pm »

I have tested that and it works for me. You don't even need to call the update() method. A simple widget.setLocation( newX, newY ); is enough.

Could you possibly post a small testcase?

Marvin
Logged
Pages: [1]
Print
Jump to:  

Theme orange-lt created by panic