[Bug?] Animation problem with Label properties

Sonny

Member
Licensed User
Longtime User
Greetings,

Please look at my included code.

It runs fine - you click on the red bar and the white panel slides up - you click on the white panel and it slides back down.

Then you go into my code and uncomment the line: ' Bar.TextColor = Colors.White, and now clicking on the red bar does nothing. However, if you now pause the app (by hitting home button), and re-enter the app, you will see that the white panel is there, and clicking on it will cause it to slide down normally. But, yet again, clicking on the red bar will yield nothing - unless you comment out the "TextColor" line and restart - then everything's normal again.

Is this a bug? Is there a simple workaround? Am I coding against the library improperly?

On another note, when is the next release of Basic4Android due to be out?

Thanks, in advance.

>> Sonny <<
 

Attachments

  • TestCode.zip
    6.9 KB · Views: 301

Sonny

Member
Licensed User
Longtime User
I see where it's happening now. It only happens when you remove the comment -and- the top of the panel disappears below the edge of the screen, meaning that the panel is beyond the display range of the device. If I rework the numbers so that just one line of pixels remains within the screen's display range, then the problem won't manifest itself.

It's a strange interaction going on here - why a label property should affect another view, but at least I've got a work around for it now.

Thanks for your feedback.

>> Sonny <<
 
Top