[Bf-extensions-cvs] [b84e97d7] master: UI: adjust of "Edit Linked Library" to use new UI layout

Brecht Van Lommel noreply at git.blender.org
Wed May 1 17:42:07 CEST 2019


Commit: b84e97d76763d9f760efff67d2bc7a11ca305cb7
Author: Brecht Van Lommel
Date:   Wed May 1 17:41:13 2019 +0200
Branches: master
https://developer.blender.org/rBAb84e97d76763d9f760efff67d2bc7a11ca305cb7

UI: adjust of "Edit Linked Library" to use new UI layout

Differential Revision: https://developer.blender.org/D4351

===================================================================

M	object_edit_linked.py

===================================================================

diff --git a/object_edit_linked.py b/object_edit_linked.py
index e8e9be99..fdef7f77 100644
--- a/object_edit_linked.py
+++ b/object_edit_linked.py
@@ -176,8 +176,10 @@ class VIEW3D_PT_PanelLinkedEdit(bpy.types.Panel):
         layout.prop(scene, "use_instance")
 
     def draw(self, context: bpy.context):
-        layout = self.layout
         scene = context.scene
+        layout = self.layout
+        layout.use_property_split = True
+        layout.use_property_decorate = False
         icon = "OUTLINER_DATA_" + context.active_object.type
 
         target = None



More information about the Bf-extensions-cvs mailing list