[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [58274] branches/soc-2013-ui_replay/source /blender: The operator redo panel now uses a two column layout.

Vincent Akkermans vincent at ack-err.net
Mon Jul 15 17:25:34 CEST 2013


Revision: 58274
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=58274
Author:   ack-err
Date:     2013-07-15 15:25:34 +0000 (Mon, 15 Jul 2013)
Log Message:
-----------
The operator redo panel now uses a two column layout. Labels on the left, widgets on the right. This increases readability and is part of an attempt to minimise scrolling.

Modified Paths:
--------------
    branches/soc-2013-ui_replay/source/blender/editors/space_clip/clip_toolbar.c
    branches/soc-2013-ui_replay/source/blender/editors/space_view3d/view3d_toolbar.c
    branches/soc-2013-ui_replay/source/blender/windowmanager/intern/wm_operators.c

Modified: branches/soc-2013-ui_replay/source/blender/editors/space_clip/clip_toolbar.c
===================================================================
--- branches/soc-2013-ui_replay/source/blender/editors/space_clip/clip_toolbar.c	2013-07-15 15:08:36 UTC (rev 58273)
+++ branches/soc-2013-ui_replay/source/blender/editors/space_clip/clip_toolbar.c	2013-07-15 15:25:34 UTC (rev 58274)
@@ -193,7 +193,7 @@
 
 static void clip_panel_operator_redo_buts(const bContext *C, Panel *pa, wmOperator *op)
 {
-	uiLayoutOperatorButs(C, pa->layout, op, NULL, 'V', 0);
+	uiLayoutOperatorButs(C, pa->layout, op, NULL, 'H', 0);
 }
 
 static void clip_panel_operator_redo_header(const bContext *C, Panel *pa)

Modified: branches/soc-2013-ui_replay/source/blender/editors/space_view3d/view3d_toolbar.c
===================================================================
--- branches/soc-2013-ui_replay/source/blender/editors/space_view3d/view3d_toolbar.c	2013-07-15 15:08:36 UTC (rev 58273)
+++ branches/soc-2013-ui_replay/source/blender/editors/space_view3d/view3d_toolbar.c	2013-07-15 15:25:34 UTC (rev 58274)
@@ -70,7 +70,7 @@
 
 static void view3d_panel_operator_redo_buts(const bContext *C, Panel *pa, wmOperator *op)
 {
-	uiLayoutOperatorButs(C, pa->layout, op, NULL, 'V', 0);
+	uiLayoutOperatorButs(C, pa->layout, op, NULL, 'H', 0);
 }
 
 static void view3d_panel_operator_redo_header(const bContext *C, Panel *pa)

Modified: branches/soc-2013-ui_replay/source/blender/windowmanager/intern/wm_operators.c
===================================================================
--- branches/soc-2013-ui_replay/source/blender/windowmanager/intern/wm_operators.c	2013-07-15 15:08:36 UTC (rev 58273)
+++ branches/soc-2013-ui_replay/source/blender/windowmanager/intern/wm_operators.c	2013-07-15 15:25:34 UTC (rev 58274)
@@ -1383,7 +1383,7 @@
 	layout = uiBlockLayout(block, UI_LAYOUT_VERTICAL, UI_LAYOUT_PANEL, 0, 0, data->width, data->height, style);
 
 	/* since ui is defined the auto-layout args are not used */
-	uiLayoutOperatorButs(C, layout, op, NULL, 'V', 0);
+	uiLayoutOperatorButs(C, layout, op, NULL, 'H', 0);
 
 	uiPopupBoundsBlock(block, 4, 0, 0);
 	uiEndBlock(C, block);




More information about the Bf-blender-cvs mailing list