Bugfix [#27054] 2.57 icons and buttons aren't perfectly centered

This seems to make things look a bit better. What a difference 1px
makes...
This commit is contained in:
Joshua Leung
2011-04-20 10:10:07 +00:00
parent 38a192031f
commit a4ebe848d9

View File

@@ -1457,7 +1457,7 @@ void ED_region_header(const bContext *C, ARegion *ar)
UI_view2d_view_ortho(&ar->v2d);
xco= maxco= 8;
yco= HEADERY-3;
yco= HEADERY-4;
/* draw all headers types */
for(ht= ar->type->headertypes.first; ht; ht= ht->next) {