UI: show camera sensor 'Width' as 'Size' for 'Auto' fit
authorCampbell Barton <ideasman42@gmail.com>
Sat, 23 Mar 2019 01:29:49 +0000 (12:29 +1100)
committerCampbell Barton <ideasman42@gmail.com>
Sat, 23 Mar 2019 01:29:49 +0000 (12:29 +1100)
release/scripts/startup/bl_ui/properties_data_camera.py

index ea18298..8cae779 100644 (file)
@@ -198,7 +198,7 @@ class DATA_PT_camera(CameraButtonsPanel, Panel):
         col.prop(cam, "sensor_fit")
 
         if cam.sensor_fit == 'AUTO':
-            col.prop(cam, "sensor_width")
+            col.prop(cam, "sensor_width", text="Size")
         else:
             sub = col.column(align=True)
             sub.active = cam.sensor_fit == 'HORIZONTAL'