[Bf-blender-cvs] [eee5a0e4ecd] blender-v2.82-release: UI: use full width for ID blocks in speaker properties
Philipp Oeser
noreply at git.blender.org
Fri Jan 31 21:57:03 CET 2020
Commit: eee5a0e4ecd3e326c1169f636526040aa964f402
Author: Philipp Oeser
Date: Fri Jan 31 21:49:24 2020 +0100
Branches: blender-v2.82-release
https://developer.blender.org/rBeee5a0e4ecd3e326c1169f636526040aa964f402
UI: use full width for ID blocks in speaker properties
rBb6a97baa0efa already did this for World, Light, Camera, Texture.
rBb196c42d4ade already did this for Lattice.
===================================================================
M release/scripts/startup/bl_ui/properties_data_speaker.py
===================================================================
diff --git a/release/scripts/startup/bl_ui/properties_data_speaker.py b/release/scripts/startup/bl_ui/properties_data_speaker.py
index 5de133f184a..10645bdd214 100644
--- a/release/scripts/startup/bl_ui/properties_data_speaker.py
+++ b/release/scripts/startup/bl_ui/properties_data_speaker.py
@@ -45,12 +45,10 @@ class DATA_PT_context_speaker(DataButtonsPanel, Panel):
speaker = context.speaker
space = context.space_data
- split = layout.split(factor=0.65)
-
if ob:
- split.template_ID(ob, "data")
+ layout.template_ID(ob, "data")
elif speaker:
- split.template_ID(space, "pin_id")
+ layout.template_ID(space, "pin_id")
class DATA_PT_speaker(DataButtonsPanel, Panel):
More information about the Bf-blender-cvs
mailing list