Fix T41173: CM view selection is difficult with multiple views
authorSergey Sharybin <sergey.vfx@gmail.com>
Thu, 7 Aug 2014 19:30:22 +0000 (01:30 +0600)
committerSergey Sharybin <sergey.vfx@gmail.com>
Thu, 7 Aug 2014 19:30:22 +0000 (01:30 +0600)
Use drop-down menu instead of expanded enum for the view select.
There are usually more views than displays and using drop-down
for display device and expanded enum for view is kindof strange.

source/blender/editors/interface/interface_templates.c

index b2b3493d4fc18f0df748ca8a898ea431885ca208..cb5f5331c2eaa47c0cab97826384bcc3f3e14230 100644 (file)
@@ -3602,7 +3602,7 @@ void uiTemplateColormanagedViewSettings(uiLayout *layout, bContext *UNUSED(C), P
        col = uiLayoutColumn(layout, false);
 
        row = uiLayoutRow(col, false);
-       uiItemR(row, &view_transform_ptr, "view_transform", UI_ITEM_R_EXPAND, IFACE_("View"), ICON_NONE);
+       uiItemR(row, &view_transform_ptr, "view_transform", 0, IFACE_("View"), ICON_NONE);
 
        col = uiLayoutColumn(layout, false);
        uiItemR(col, &view_transform_ptr, "exposure", 0, NULL, ICON_NONE);