diff options
author | Bastien Montagne <montagne29@wanadoo.fr> | 2013-10-11 19:45:42 +0400 |
---|---|---|
committer | Bastien Montagne <montagne29@wanadoo.fr> | 2013-10-11 19:45:42 +0400 |
commit | ce52dc2900b9270fe8b73ca9cf07a3f428d873b7 (patch) | |
tree | b6d153085a5658ff01535423fac309fb1166c627 /release | |
parent | 1760f5fdcceaf8414b20b748e3b0e1aa35d93af1 (diff) |
UI: Fix SSS pressets' buttons not being aligned anymore (to be backported to 2.69).
Issue found out by DingTo.
Diffstat (limited to 'release')
-rw-r--r-- | release/scripts/startup/bl_ui/properties_material.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/release/scripts/startup/bl_ui/properties_material.py b/release/scripts/startup/bl_ui/properties_material.py index eff538971c0..bb0b137da0a 100644 --- a/release/scripts/startup/bl_ui/properties_material.py +++ b/release/scripts/startup/bl_ui/properties_material.py @@ -518,7 +518,7 @@ class MATERIAL_PT_sss(MaterialButtonsPanel, Panel): layout.active = (sss.use) and (not mat.use_shadeless) row = layout.row().split() - sub = row.row(align=True).split(percentage=0.75) + sub = row.row(align=True).split(align=True, percentage=0.75) sub.menu("MATERIAL_MT_sss_presets", text=bpy.types.MATERIAL_MT_sss_presets.bl_label) sub.operator("material.sss_preset_add", text="", icon='ZOOMIN') sub.operator("material.sss_preset_add", text="", icon='ZOOMOUT').remove_active = True |