Cleanup: use f-strings
[blender.git] / release / scripts / startup / bl_ui / properties_data_modifier.py
index 290b08342be934c4820e8db4fab91fa9f7a70aeb..a147950a36d7cc752b4dc95de4f996c0f3687e95 100644 (file)
@@ -990,7 +990,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("Render %.2f px, Preview %.2f px" % (render, preview))
+            col.label(f"Render {render:10.2f} px, Preview {preview:10.2f} px")
 
     def SURFACE(self, layout, ob, md):
         layout.label(text="Settings are inside the Physics tab")