The only thing I am still struggling now about this matter, is that since my textfield is multiline and its length exceeds the size of the panel layout, getting its bounds leads to this:
I am trying to understand if it's possible to query the boundaries of the visible area but had no luck so far.
Another question, if you still have patience Can we set background images for UI.Panel elements?
I've seen that UI.Panel has a setImage function and I've seen that I can call it in UI.Builder with Image = "myimage.png" or later as myElement:setImage (ie. on LAYOUT_RESIZED) but I can't see that image appear in my layout.
Comments
for the records, the error that was present in my drawRect function has been fixed here:
I am trying to understand if it's possible to query the boundaries of the visible area but had no luck so far.
Likes: MoKaLux
Likes: MoKaLux
Likes: pie
for the records this is the updated code:
Another question, if you still have patience
Can we set background images for UI.Panel elements?
I've seen that UI.Panel has a setImage function and I've seen that I can call it in UI.Builder with
Image = "myimage.png"
or later as myElement:setImage (ie. on LAYOUT_RESIZED) but I can't see that image appear in my layout.
Thank you
Likes: MoKaLux
Likes: MoKaLux, pie