More button alignment stuff: campbell had a script that was

drawing various cases. Fixed another one. :)
This commit is contained in:
2010-11-22 18:41:08 +00:00
parent 739b8f6a5c
commit ce9ce42e38

View File

@@ -2263,8 +2263,10 @@ static void ui_block_do_align_but(uiBut *first, int nr)
if(prev && buts_are_horiz(prev, but))
flag |= UI_BUT_ALIGN_LEFT;
else
else {
flag &= ~UI_BUT_ALIGN_LEFT;
flag |= UI_BUT_ALIGN_TOP;
}
if( (flag & UI_BUT_ALIGN_TOP)==0) { /* stil top row */
if(prev) {