diff options
author | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2018-10-25 16:27:31 +0300 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2018-10-28 19:46:52 +0300 |
commit | 9bcdb19a3e0270a0e8727290111e4a1d6e15a944 (patch) | |
tree | f390e678329570613be33fd6be41ad8615ba975c /release/scripts/startup/bl_ui/space_view3d_toolbar.py | |
parent | 41a284212a65e1590dc28bee83dcd72ef5e0a6f3 (diff) |
Fix label misalignment when there are multiple buttons on the right side.
Diffstat (limited to 'release/scripts/startup/bl_ui/space_view3d_toolbar.py')
-rw-r--r-- | release/scripts/startup/bl_ui/space_view3d_toolbar.py | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/release/scripts/startup/bl_ui/space_view3d_toolbar.py b/release/scripts/startup/bl_ui/space_view3d_toolbar.py index 6cc0e6f46d4..1b5d78f093c 100644 --- a/release/scripts/startup/bl_ui/space_view3d_toolbar.py +++ b/release/scripts/startup/bl_ui/space_view3d_toolbar.py @@ -67,6 +67,7 @@ def draw_vpaint_symmetry(layout, vpaint): col = layout.column() col.use_property_split = True + col.use_property_decorate = False col.prop(vpaint, "radial_symmetry", text="Radial") # Most of these panels should not be visible in GP edit modes @@ -571,6 +572,7 @@ class VIEW3D_PT_stencil_projectpaint(View3DPanel, Panel): def draw(self, context): layout = self.layout layout.use_property_split = True + layout.use_property_decorate = False toolsettings = context.tool_settings ipaint = toolsettings.image_paint @@ -746,6 +748,7 @@ class VIEW3D_PT_tools_brush_stroke(Panel, View3DPaintPanel): settings = self.paint_settings(context) brush = settings.brush layout.use_property_split = True + layout.use_property_decorate = False col = layout.column() @@ -779,16 +782,12 @@ class VIEW3D_PT_tools_brush_stroke(Panel, View3DPaintPanel): if brush.sculpt_capabilities.has_jitter: col.separator() - colsub = col.split(factor=0.5) - row = colsub.row(align=True) - row.alignment = 'RIGHT' - row.label(text="Jitter") - row = colsub.row(align=True) - row.prop(brush, "use_relative_jitter", icon_only=True) + row = col.row(align=True) if brush.use_relative_jitter: - row.prop(brush, "jitter", slider=True, text="") + row.prop(brush, "jitter", slider=True) else: - row.prop(brush, "jitter_absolute", text="") + row.prop(brush, "jitter_absolute") + row.prop(brush, "use_relative_jitter", icon_only=True) row.prop(brush, "use_pressure_jitter", toggle=True, text="") if brush.sculpt_capabilities.has_smooth_stroke: @@ -1002,6 +1001,7 @@ class VIEW3D_PT_sculpt_symmetry(Panel, View3DPaintPanel): row.prop(sculpt, "tile_z", text="Z", toggle=True) layout.use_property_split = True + layout.use_property_decorate = False layout.prop(sculpt, "use_symmetry_feather", text="Feather") layout.column().prop(sculpt, "radial_symmetry", text="Radial") |