diff options
author | Campbell Barton <ideasman42@gmail.com> | 2018-08-28 05:34:51 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2018-08-28 05:34:51 +0300 |
commit | e9fb2feb2eaef92384b4bf7064fe2c61b1d3dad9 (patch) | |
tree | 1b41a7ae2d7c197276e78471a5206946a3d50ea8 /release/scripts/startup/bl_ui/properties_particle.py | |
parent | 60b24f2415233d6dd6feb0c463de59570d7835ff (diff) |
UI: text keyword argument to label
Prepare for keyword only args
Diffstat (limited to 'release/scripts/startup/bl_ui/properties_particle.py')
-rw-r--r-- | release/scripts/startup/bl_ui/properties_particle.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/release/scripts/startup/bl_ui/properties_particle.py b/release/scripts/startup/bl_ui/properties_particle.py index 393c9784be8..f4a25ccb38d 100644 --- a/release/scripts/startup/bl_ui/properties_particle.py +++ b/release/scripts/startup/bl_ui/properties_particle.py @@ -396,10 +396,10 @@ class PARTICLE_PT_hair_dynamics(ParticleButtonsPanel, Panel): else: label = "ERROR" icon = 'ERROR' - box.label(label, icon=icon) - box.label("Iterations: %d .. %d (avg. %d)" % + box.label(text=label, icon=icon) + box.label(text="Iterations: %d .. %d (avg. %d)" % (result.min_iterations, result.max_iterations, result.avg_iterations)) - box.label("Error: %.5f .. %.5f (avg. %.5f)" % (result.min_error, result.max_error, result.avg_error)) + box.label(text="Error: %.5f .. %.5f (avg. %.5f)" % (result.min_error, result.max_error, result.avg_error)) class PARTICLE_PT_hair_dynamics_structure(ParticleButtonsPanel, Panel): |