diff options
-rw-r--r-- | intern/cycles/blender/addon/ui.py | 10 | ||||
-rw-r--r-- | release/scripts/startup/bl_ui/properties_world.py | 9 |
2 files changed, 12 insertions, 7 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): diff --git a/release/scripts/startup/bl_ui/properties_world.py b/release/scripts/startup/bl_ui/properties_world.py index 6f00e521e58..9b61311c2d3 100644 --- a/release/scripts/startup/bl_ui/properties_world.py +++ b/release/scripts/startup/bl_ui/properties_world.py @@ -77,9 +77,12 @@ class EEVEE_WORLD_PT_mist(WorldButtonsPanel, Panel): world = context.world - layout.prop(world.mist_settings, "start") - layout.prop(world.mist_settings, "depth") - layout.prop(world.mist_settings, "falloff") + col = layout.column(align=True) + col.prop(world.mist_settings, "start") + col.prop(world.mist_settings, "depth") + + col = layout.column() + col.prop(world.mist_settings, "falloff") class WORLD_PT_custom_props(WorldButtonsPanel, PropertyPanel, Panel): |