UI: correct unintended space in string formatting
authorCampbell Barton <ideasman42@gmail.com>
Sun, 2 Sep 2018 10:05:45 +0000 (20:05 +1000)
committerCampbell Barton <ideasman42@gmail.com>
Sun, 2 Sep 2018 10:05:45 +0000 (20:05 +1000)
release/scripts/startup/bl_ui/properties_data_modifier.py

index 3baa257a1512d13a6a9618814256b253bc3f0738..f5b65e704871a76f716cbc546bee43e5f64e13c9 100644 (file)
@@ -1008,7 +1008,7 @@ class DATA_PT_modifiers(ModifierButtonsPanel, Panel):
 
             render = max(scene.cycles.dicing_rate * ob.cycles.dicing_rate, 0.1)
             preview = max(scene.cycles.preview_dicing_rate * ob.cycles.dicing_rate, 0.1)
-            col.label(text=f"Render {render:10.2f} px, Preview {preview:10.2f} px")
+            col.label(text=f"Render {render:.2f} px, Preview {preview:.2f} px")
 
     def SURFACE(self, layout, ob, md):
         layout.label(text="Settings are inside the Physics tab")