Apps Can't set background texture

I'm trying to add texture to a label:

separator = ac.addLabel(appWindow, '')
ac.setPosition(separator, 150, 40)
ac.setSize(separator, 50, 50)
ac.setBackgroundTexture(separator, 'apps/phyton/myapp/images/separator.png')

But setBackgroundTexture returns -1.
 

Latest News

Are you buying car setups?

  • Yes

  • No


Results are only viewable after voting.
Back
Top