diff options
author | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2011-11-30 03:00:10 +0400 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2011-11-30 03:00:10 +0400 |
commit | aff705c4305cf972992fd4750dccc8b7b4a343b8 (patch) | |
tree | c1f1a35e6fa140c2876d3817d8c3308eeb025054 /source/blender/editors/screen | |
parent | 6ec3313e2d18d5f4b44ad854bc2c79a9e921c04b (diff) |
UI: another tweak to panel header drawing, to get the checkboxes positioned right.
Diffstat (limited to 'source/blender/editors/screen')
-rw-r--r-- | source/blender/editors/screen/area.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/screen/area.c b/source/blender/editors/screen/area.c index 24c26109502..f7fe98edf02 100644 --- a/source/blender/editors/screen/area.c +++ b/source/blender/editors/screen/area.c @@ -1596,7 +1596,7 @@ void ED_region_panels(const bContext *C, ARegion *ar, int vertical, const char * if(pt->draw_header && !(pt->flag & PNL_NO_HEADER) && (open || vertical)) { /* for enabled buttons */ panel->layout= uiBlockLayout(block, UI_LAYOUT_HORIZONTAL, UI_LAYOUT_HEADER, - triangle, UI_UNIT_Y+style->panelspace, UI_UNIT_Y, 1, style); + triangle, UI_UNIT_Y+style->panelspace+2, UI_UNIT_Y, 1, style); pt->draw_header(C, panel); |