Slider base image not shown properly
I am using slider widget in my project with custom images for base and fill.
When I change the base image programmatically, the slider is coming up with filled image as base image. Here is line of code:
pwrSaveTimeSlider.setBitmaps(touchgfx::Bitmap(BITMAP_ADV_SETTINGS_SLIDER_BASE_DARK_ID), touchgfx::Bitmap(BITMAP_ADV_SETTINGS_SLIDER_BASE_FILLED_ID), touchgfx::Bitmap(BITMAP_SLIDER_ID));
pwrSaveTimeSlider.invalidate();
Here is how it comes with after executing above lines of code. As soon as I click down on slider indicator (before even move/drag it) the blue image disappears and the intended base image appears.
The blue image is used as filled image which means with slider indicator to far left, the blue image should not show up at all.
Is this a known bug with slider widget?
BTW, I am using TouchGFX 4.18.1. But I have seen this happening in 4.16.1 as well.
