Skip to content

Proposal to reduce jitter displaying of up/down load values

Submitted by Neo

Assigned to Skunnyk @skunnyk

Link to original bug (#12957)

Description

In order to reduce jitter in the panel due to non fixed area for displayed up/download number, I would like to propose this very simple modification :

Line 116, utils.c change the original line snprintf(formatstring, BUFSIZ, "%%.%df", digits); by snprintf(formatstring, BUFSIZ, "%%%d.%df\t",6, digits);

By doing this, the applet keeps is width regardless of numbers change.

Version: git