diff options
author | Aaron Carlisle <carlisle.b3d@gmail.com> | 2020-09-10 04:15:05 +0300 |
---|---|---|
committer | Aaron Carlisle <carlisle.b3d@gmail.com> | 2020-09-10 04:15:05 +0300 |
commit | d2d3ab05b3b078acc10c26e984d534524177a615 (patch) | |
tree | 4c2dd448e5f1997dce971d8e71ef856e4aef26a6 /intern/cycles | |
parent | af843be3012ac97f69d8a6bdf25b28f3025a2ee0 (diff) |
UI: Use split layout for world mist settings
Differential Revision: https://developer.blender.org/D7548
Diffstat (limited to 'intern/cycles')
-rw-r--r-- | intern/cycles/blender/addon/ui.py | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/intern/cycles/blender/addon/ui.py b/intern/cycles/blender/addon/ui.py index 03b1675c309..167a359e62e 100644 --- a/intern/cycles/blender/addon/ui.py +++ b/intern/cycles/blender/addon/ui.py @@ -1571,14 +1571,16 @@ class CYCLES_WORLD_PT_mist(CyclesButtonsPanel, Panel): def draw(self, context): layout = self.layout + layout.use_property_split = True world = context.world - split = layout.split(align=True) - split.prop(world.mist_settings, "start") - split.prop(world.mist_settings, "depth") + col = layout.column(align=True) + col.prop(world.mist_settings, "start") + col.prop(world.mist_settings, "depth") - layout.prop(world.mist_settings, "falloff") + col = layout.column() + col.prop(world.mist_settings, "falloff") class CYCLES_WORLD_PT_ray_visibility(CyclesButtonsPanel, Panel): |