cancel
Showing results for 
Search instead for 
Did you mean: 

How to delete a default image in TouchGFX Designer?

Junde
Senior II

Hi,

I am trying to copy the TouchGFXDemo1 in TouchGFX Designer.

When I add a "text progress", there is a property of Image for the background.

This property always has an initial image, and I do not know how to delete it.

Could someone tell me how to do it?

Junde_0-1713337195446.png

I want it like this:

Junde_1-1713337385894.png

Thanks

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
Junde
Senior II

Thanks @GaetanGodart 

What I mean is that in the TouchGFX demo, the Text progress can be without the image property.

But I can't delete it, so I want to know how the demo does it.

Finally, I found an abnormal solution: delete the property in the .touchgfx file by opening it in text format:

Junde_0-1713504337811.png

 

View solution in original post

5 REPLIES 5
GaetanGodart
ST Employee

Hello @Junde ,

 

Your TouchGFX version seems to be quite old.
In the more recent versions we have removed that feature.
Therefore, the simplest way to solve your problem is to update to a more recent version.

It is always recommended to use the latest version publicly available.

 

If this solved your issue, I invite you to select this message as "best answer".

 

Regards,

Gaetan Godart
Software engineer at ST (TouchGFX)

@GaetanGodart 

Thanks for your reply.

My designer version is 4.23.2, which is the latest one.

Hello @Junde ,

 

Sorry, I thought it was a text area.

Text progress inherit from AbstractProgressIndicator (documentation here).
So it need an image as background.

If you do not want any image as background, you could simply use a fully transparent image.

 

Regards,

Gaetan Godart
Software engineer at ST (TouchGFX)
Junde
Senior II

Thanks @GaetanGodart 

What I mean is that in the TouchGFX demo, the Text progress can be without the image property.

But I can't delete it, so I want to know how the demo does it.

Finally, I found an abnormal solution: delete the property in the .touchgfx file by opening it in text format:

Junde_0-1713504337811.png

 

GaetanGodart
ST Employee

Hello @Junde ,

 

I am glad you found a solution!

 

Regards,

Gaetan Godart
Software engineer at ST (TouchGFX)