[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [37368] branches/soc-2011-pepper/source/ blender/editors/animation/fmodifier_ui.c: Alignment tweaks to F-Modifier header buttons.

Joshua Leung aligorith at gmail.com
Fri Jun 10 15:06:51 CEST 2011


Revision: 37368
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=37368
Author:   aligorith
Date:     2011-06-10 13:06:51 +0000 (Fri, 10 Jun 2011)
Log Message:
-----------
Alignment tweaks to F-Modifier header buttons.

I was going to include this change along with support for moving
FModifiers around on the stack, though that looks like it might be a
bit more involved than first though. To be dealt with later...

Modified Paths:
--------------
    branches/soc-2011-pepper/source/blender/editors/animation/fmodifier_ui.c

Modified: branches/soc-2011-pepper/source/blender/editors/animation/fmodifier_ui.c
===================================================================
--- branches/soc-2011-pepper/source/blender/editors/animation/fmodifier_ui.c	2011-06-10 12:51:07 UTC (rev 37367)
+++ branches/soc-2011-pepper/source/blender/editors/animation/fmodifier_ui.c	2011-06-10 13:06:51 UTC (rev 37368)
@@ -622,7 +622,7 @@
 		block= uiLayoutGetBlock(row); // err...
 		
 		/* left-align -------------------------------------------- */
-		subrow= uiLayoutRow(row, 0);
+		subrow= uiLayoutRow(row, 1);
 		uiLayoutSetAlignment(subrow, UI_LAYOUT_ALIGN_LEFT);
 		
 		uiBlockSetEmboss(block, UI_EMBOSSN);
@@ -640,7 +640,7 @@
 			uiItemL(subrow, "<Unknown Modifier>", ICON_NONE);
 		
 		/* right-align ------------------------------------------- */
-		subrow= uiLayoutRow(row, 0);
+		subrow= uiLayoutRow(row, 1);
 		uiLayoutSetAlignment(subrow, UI_LAYOUT_ALIGN_RIGHT);
 		
 		




More information about the Bf-blender-cvs mailing list