Cleanup: use row() sub-layout to expand enum properties horizontaly

This commit is contained in:
2017-06-01 16:38:32 +03:00
parent 528ae8885e
commit d5d7455796
20 changed files with 50 additions and 50 deletions

View File

@@ -83,7 +83,7 @@ class DATA_PT_lamp(DataButtonsPanel, Panel):
lamp = context.lamp
layout.prop(lamp, "type", expand=True)
layout.row().prop(lamp, "type", expand=True)
split = layout.split()
@@ -210,7 +210,7 @@ class DATA_PT_shadow(DataButtonsPanel, Panel):
lamp = context.lamp
layout.prop(lamp, "shadow_method", expand=True)
layout.row().prop(lamp, "shadow_method", expand=True)
if lamp.shadow_method == 'NOSHADOW' and lamp.type == 'AREA':
split = layout.split()