Hello, this is my first commit. Hope I am approaching this bug in the correct way.
The text inside the CustomSpinBox is not horizontally aligned, which causes the spin box to not look consistently with other spin boxes. This one liner fixes horizontal alignment.