UI: disable split layout for cursor transform

There isn't much horizontal space in the side-bar,
also object transform which is very similar doesn't use a split layout.
This commit is contained in:
Campbell Barton 2019-02-26 14:31:54 +11:00
parent 186bd4d87b
commit 2986923f8c
1 changed files with 1 additions and 3 deletions

View File

@ -4324,8 +4324,6 @@ class VIEW3D_PT_view3d_cursor(Panel):
def draw(self, context):
layout = self.layout
layout.use_property_split = True
layout.use_property_decorate = False # No animation.
scene = context.scene
@ -4337,7 +4335,7 @@ class VIEW3D_PT_view3d_cursor(Panel):
layout.column().prop(scene, "cursor_rotation_axis_angle", text="Rotation")
else:
layout.column().prop(scene, "cursor_rotation_euler", text="Rotation")
layout.row().prop(scene, "cursor_rotation_mode")
layout.prop(scene, "cursor_rotation_mode", text="")
class VIEW3D_PT_collections(Panel):