diff options
author | Matt Ebb <matt@mke3.net> | 2006-01-16 14:27:50 +0300 |
---|---|---|
committer | Matt Ebb <matt@mke3.net> | 2006-01-16 14:27:50 +0300 |
commit | 3c40b2ac25eba3c71958311ea4d42dec14372d7a (patch) | |
tree | d47442b719c251d68e761977af3d2c6c02000fa4 | |
parent | 9cbf04ca9a5cc8b3c0893e8d3f222e45d2673942 (diff) |
* Tiny tweak to button alignment after Campbell's commit.
Campbell, most of the changes you made seem ok, but you do have to be careful since it's not just about looking good, it's also about grouping things meaningfully. We did some thoughts on more concrete guidelines for this here: http://mediawiki.blender.org/index.php/BlenderDev/UIAlignRulesGuides
-rw-r--r-- | source/blender/src/header_ipo.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/src/header_ipo.c b/source/blender/src/header_ipo.c index 8c2bfc302ac..79d4e6ca3f6 100644 --- a/source/blender/src/header_ipo.c +++ b/source/blender/src/header_ipo.c @@ -1200,13 +1200,13 @@ void ipo_buttons(void) uiClearButLock(); /* ZOOMBORDER */ - uiBlockBeginAlign(block); uiDefIconBut(block, BUT, B_IPOBORDER, ICON_BORDERMOVE, xco+=XIC,0,XIC,YIC, 0, 0, 0, 0, 0, "Zooms view to area"); + xco+=XIC/2; + /* draw LOCK */ uiDefIconButS(block, ICONTOG, 1, ICON_UNLOCKED, xco+=XIC,0,XIC,YIC, &(G.sipo->lock), 0, 0, 0, 0, "Toggles forced redraw of other windows to reflect changes in real time"); - uiBlockEndAlign(block); - + /* always do as last */ curarea->headbutlen= xco+2*XIC; |