Setting nUIButtonElement Icon Image

Hi Team,

Has anyone ever tried setting icon image to nUIButtonElement ?

Even though I can insert an image available in my resource folder to somewhere on screen, it throws out nullpointer exception when I want to put in buttonelement object…

Hi Emre,

I believe the icon image in the nUIButtonElement isn’t implemented yet. This concept is being a little superceded by the TableButton concept. As for just clickable images as an alternative, I believe Mark here in the office had been looking at that, although it may not yet be rolled out. Mark - do you have an update on that?

Regards,

Nick.

Hi Nick,

Yes, that's right. The expectation is that nUIImageElement will become clickable by calling setTriggerable(true) on it. We've currently got code in the Android and BlackBerry branches for this, with iOS to follow on as soon as possible. 

This should become available at the next update.

Regards,
Mark.

Hi Mark, Nick

That’s actually what I found out later on, I’m able to create triggerable image elements by invoking setTriggerable(true), but what I’ve understood from mark’s response is that it’s only being supported by android and blackberry not ios… By saying next update I think you mean Software AG service releases twice in year ? Because it means that if a customer today wants to create a UI which is fully based on Image elements (all clickables), it means that it can only be cross-compiled to android and bb.

Hi Emre,

No, we weren’t referring to the Software AG release cycle. Apologies for confusion when we discuss such things - prior to acquisition, we had been rolling out to customers small incremental updates to our product 2 or 3 times a week, so we sometimes forget that update / release has a different meaning here in SAG. :slight_smile: Currently, I’m hoping we’ll be exposing an update some time this week. Moving forwards, we are hoping to have a monthly update cycle for Mobile Designer.

Baseline - we hope to make something available this week, hopefully including iOS.

Regards,

Nick.