Jump to content

Recommended Posts

Posted (edited)

change the image formart to gif, the problem still exist.

I'm using ugfx2.7 git,  on ubuntu16.04x64, X driver(for on SDL driver, the main windows not show up)

Edited by kevin shang
Posted

Part 1: workaround...

After moving the container do a gwinRedraw on your lightbulb.

Part 2: fix...

It is difficult to tell exactly what is going on without suitable source code. Please write the smallest program you can that demonstrates this problem, attach it in a zip to this forum topic and we will try and work out what is going on. I suspect it is either related to a partial redraw optimisation or alternatively the move code (which is not well tested as it is a less commonly performed operation)

Posted (edited)

there is no the problem on moving a image widget, which just on moving a button widget with image custom draw.

 

what i am doing is: place a container window and place some button widget as it's child, then move the container, 

widgets with normal draw are work fine ,only the button with image draw not work well.

Edited by kevin shang

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...