diff options
author | Campbell Barton <ideasman42@gmail.com> | 2015-02-28 09:26:05 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2015-02-28 09:26:05 +0300 |
commit | b00fecc85da19a25be571c6541dd76ea268af19d (patch) | |
tree | cbcdd470ddeac0b0a38b777803abe488e79c8cb2 | |
parent | 08a2101eb67ba9525d68f94dd6487c7700bc93f2 (diff) |
UI: place camera DOF buttons to be more compact
-rw-r--r-- | release/scripts/startup/bl_ui/properties_data_camera.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/release/scripts/startup/bl_ui/properties_data_camera.py b/release/scripts/startup/bl_ui/properties_data_camera.py index 40cda362bf1..106e31ea89a 100644 --- a/release/scripts/startup/bl_ui/properties_data_camera.py +++ b/release/scripts/startup/bl_ui/properties_data_camera.py @@ -179,17 +179,17 @@ class DATA_PT_camera_dof(CameraButtonsPanel, Panel): cam = context.camera dof_options = cam.gpu_dof - layout.label(text="Focus:") - split = layout.split() - split.prop(cam, "dof_object", text="") col = split.column() + col.label(text="Focus:") + col.prop(cam, "dof_object", text="") + col = split.column() + col.prop(dof_options, "fstop") sub = col.column() sub.active = cam.dof_object is None sub.prop(cam, "dof_distance", text="Distance") - col.prop(dof_options, "fstop") class DATA_PT_camera_display(CameraButtonsPanel, Panel): |