Jump to content

[SOLVED] Widgets - .UI - background="0"


photo

Recommended Posts

Posted

Hey Unigine,

 

if I'm adding Editlines or edittext into my GUI .H-File and want to remove the background with -> background="0"

It doesn't work:

 

<editline   export="0" background="0" width="500">YourMessage</editline>

 

If I export the Widget and call function .setBackground(0) it works.

 

At all: I thought the -> background="0" command could be wrong but with a button it works with no problems:


  <button background="0" width="100"><text>Send</text></button>

 

 

 

PS: I'm using latest SDK.

Greetings

Lars

Posted

"background" is an unknown tag for editline and edittext widgets in the latest SDK.

You should see a "unused argument" warning in the console.

 

This argument will be added in the next SDK.

Posted

Hey Frustrum,

 

thanks fine :)

Isn't that important but just wanted to make sure that all will work properly.

Greetings

Lars

×
×
  • Create New...