int const x = row_.isRTL() ? row_.width() + fm.width(layout.labelsep)
: row_.left_margin - fm.width(layout.labelsep) - fm.width(str);
- pi_.pain.text(xo_ + x, yo_, str, font);
+ pi_.pain.text(int(xo_) + x, yo_, str, font);
}
}
if (endlabel == END_LABEL_BOX)
- pi_.pain.rectangle(xo_ + x, y, size, size, font.realColor());
+ pi_.pain.rectangle(int(xo_) + x, y, size, size, font.realColor());
else
- pi_.pain.fillRectangle(xo_ + x, y, size, size, font.realColor());
+ pi_.pain.fillRectangle(int(xo_) + x, y, size, size, font.realColor());
break;
}