Skip to content

Commit 0045e1a

Browse files
committed
qtvcp: origin_offsetview keep angular values the same length as linear values
1 parent c74e11b commit 0045e1a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/python/qtvcp/widgets/origin_offsetview.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -267,7 +267,7 @@ def reload_offsets(self):
267267
else:
268268
tmpl = self.imperial_text_template
269269

270-
degree_tmpl = "%11.2f"
270+
degree_tmpl = "%{}.2f".format(len(locale.format(tmpl, 0)))
271271

272272
# fill each row of the liststore from the offsets arrays
273273
for row, i in enumerate([ap, rot, g92, tool, g54, g55, g56, g57, g58, g59, g59_1, g59_2, g59_3]):

0 commit comments

Comments
 (0)