kcm/kwinrules: Adapt spinbox width to actual text
Use FontMetrics to calculate the expected maximum text width so it doesn't overflow with wider fonts, specially in more verbose languages like pt_BR
BUG: 438193 FIXED-IN: 5.23
Alternative to !1086 (closed)