diff options
author | Campbell Barton <ideasman42@gmail.com> | 2018-06-10 17:08:19 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2018-06-10 17:08:19 +0300 |
commit | 4d1193feb3206516e3142b68bf0d827e256e10d9 (patch) | |
tree | ff7ea1fb8181f329f7c5421bbfac8c4c072ebe15 /release | |
parent | 87a71f36fca11c78d6b10ab655c6b556db1147e7 (diff) |
UI: correct jitter button
Diffstat (limited to 'release')
-rw-r--r-- | release/scripts/startup/bl_ui/space_view3d_toolbar.py | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/release/scripts/startup/bl_ui/space_view3d_toolbar.py b/release/scripts/startup/bl_ui/space_view3d_toolbar.py index 33d4555811d..1550b661971 100644 --- a/release/scripts/startup/bl_ui/space_view3d_toolbar.py +++ b/release/scripts/startup/bl_ui/space_view3d_toolbar.py @@ -804,12 +804,16 @@ class VIEW3D_PT_tools_brush_stroke(Panel, View3DPaintPanel): if brush.sculpt_capabilities.has_jitter: col.separator() - row = col.row(align=True) + colsub = col.split(0.5) + row = colsub.row(align=True) + row.alignment = 'RIGHT' + row.label("Jitter") + row = colsub.row(align=True) row.prop(brush, "use_relative_jitter", icon_only=True) if brush.use_relative_jitter: - row.prop(brush, "jitter", slider=True) + row.prop(brush, "jitter", slider=True, text="") else: - row.prop(brush, "jitter_absolute") + row.prop(brush, "jitter_absolute", text="") row.prop(brush, "use_pressure_jitter", toggle=True, text="") if brush.sculpt_capabilities.has_smooth_stroke: |