Fix: Cramped layout in object parent properties

This commit is contained in:
William Reynish
2018-12-30 16:30:17 +01:00
committed by Severin
parent bcf0c71433
commit d96596de29

View File

@@ -142,7 +142,7 @@ class OBJECT_PT_relations(ObjectButtonsPanel, Panel):
col = flow.column()
col.prop(ob, "parent")
sub = col.row(align=True)
sub = col.column()
sub.prop(ob, "parent_type")
parent = ob.parent
if parent and ob.parent_type == 'BONE' and parent.type == 'ARMATURE':
@@ -152,19 +152,21 @@ class OBJECT_PT_relations(ObjectButtonsPanel, Panel):
col = flow.column()
col.active = (ob.parent is not None)
col.prop(ob, "use_slow_parent")
sub = col.row(align=True)
sub = col.column()
sub.active = (ob.use_slow_parent)
sub.prop(ob, "slow_parent_offset", text="Offset")
col = flow.column()
col.separator()
col = flow.column()
col.prop(ob, "track_axis", text="Tracking Axis")
col.prop(ob, "up_axis", text="Up Axis")
col = flow.column()
col.separator()
col = flow.column()
col.prop(ob, "pass_index")