2019-04-12 07:31 AM
Dear Sir,
I am working with customer using TouchGFX.
Because I am BSP porting engineer, I don't know TouchGFX application in detail.
My customer is tring to implement custom Slider widget with number indicator of slider image.
But, there is flicker problem whenever slider is moved.
Please could you check that where is this problem ?
Best Regards,
JunBeom Kim / EmbedCoreTech.
Solved! Go to Solution.
2019-04-30 02:12 AM
What i think is happening is that, since you want to update the images all the time, you're basically resetting the "viewport" even if your slider has a viewport of the background image which is 50%, so the glitches you see should be happening around each time you change numbers on the knob. I've verified this in your project.
I guess it's not designed to be used that way. You could create a specialized class that can change only the knob image for the slider and does nothing else. Currently you can only set all the images at once, because you're not expected to change them after init.
/Martin
2019-04-30 01:47 AM
Hi @JunBeom Kim,
Can you give some more detail? Is this an issue on both simulator and target?
/Martin
2019-04-30 02:00 AM
Yes, this problem is on both side. you can check this on simulator in first.
2019-04-30 02:03 AM
Okay, i'll check the project when i have some extra time and get back to you.
/Martin
2019-04-30 02:12 AM
What i think is happening is that, since you want to update the images all the time, you're basically resetting the "viewport" even if your slider has a viewport of the background image which is 50%, so the glitches you see should be happening around each time you change numbers on the knob. I've verified this in your project.
I guess it's not designed to be used that way. You could create a specialized class that can change only the knob image for the slider and does nothing else. Currently you can only set all the images at once, because you're not expected to change them after init.
/Martin