forked from bartvdbraak/blender
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:
parent
5780142679
commit
eee5a0e4ec
@ -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):
|
||||
|
Loading…
Reference in New Issue
Block a user