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.
This commit is contained in:
Philipp Oeser 2020-01-31 21:49:24 +01:00
parent 5780142679
commit eee5a0e4ec
1 changed files with 2 additions and 4 deletions

View File

@ -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):