setup percentage draw element floating point