Panels with different width or height, should give a re-align call 
when tabbed and tabs switch
This commit is contained in:
Ton Roosendaal 2007-11-15 19:02:31 +00:00
parent ca9db6ef25
commit 6dbe745396

@ -1805,6 +1805,13 @@ static void panel_clicked_tabs(uiBlock *block, int mousex)
}
addqueue(curarea->win, REDRAW, 1);
/* panels now differ size.. */
if(curarea->spacetype==SPACE_BUTS) {
SpaceButs *sbuts= curarea->spacedata.first;
if(sbuts->align)
uiAlignPanelStep(curarea, 1.0);
}
}
}