[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [43794] trunk/blender/source/blender/ editors/interface/interface_regions.c: Fix #28011: Dropdown lists to add Brick elements in Game Logic view miss letters if zoomed small

Sergey Sharybin sergey.vfx at gmail.com
Tue Jan 31 16:59:52 CET 2012


Revision: 43794
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=43794
Author:   nazgul
Date:     2012-01-31 15:59:52 +0000 (Tue, 31 Jan 2012)
Log Message:
-----------
Fix #28011: Dropdown lists to add Brick elements in Game Logic view miss letters if zoomed small

Now fonts in popup lists will also be scaled together with panel from which they're displaying.

Modified Paths:
--------------
    trunk/blender/source/blender/editors/interface/interface_regions.c

Modified: trunk/blender/source/blender/editors/interface/interface_regions.c
===================================================================
--- trunk/blender/source/blender/editors/interface/interface_regions.c	2012-01-31 15:59:30 UTC (rev 43793)
+++ trunk/blender/source/blender/editors/interface/interface_regions.c	2012-01-31 15:59:52 UTC (rev 43794)
@@ -1541,6 +1541,8 @@
 		if(ELEM(but->type, BLOCK, PULLDOWN))
 			block->xofs = -2;	/* for proper alignment */
 
+		block->aspect = but->block->aspect;
+
 		ui_block_position(window, butregion, but, block);
 	}
 	else {



More information about the Bf-blender-cvs mailing list