I rebuild the TFT_OBJECT routine, level variable to int now! no float more!
uint8_t value;
and routine
case BAR:
ax = (obj->width - (obj->label.length() * obj->textsize * FontSizeX)) >> 1; // divided by 2
ay = (obj->height - obj->textsize * FontSizeY) >> 1;
r = (float)obj->value/100.0 * (obj->width -2);
no more reset