forked from bartvdbraak/blender
* 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
This commit is contained in:
parent
9cbf04ca9a
commit
3c40b2ac25
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user