Commit: ed843774a8b71c426ce8d800abaa4705df0ea28f Author: Harley Acheson Date: Mon Jan 14 15:01:51 2019 +0100 Branches: master https://developer.blender.org/rBed843774a8b71c426ce8d800abaa4705df0ea28f
UI: fix horizontal scrollbar overlapping last item. Differential Revision: https://developer.blender.org/D4202 =================================================================== M source/blender/editors/space_outliner/outliner_draw.c =================================================================== diff --git a/source/blender/editors/space_outliner/outliner_draw.c b/source/blender/editors/space_outliner/outliner_draw.c index 97c5c1db4cb..9bdbcf6ed4e 100644 --- a/source/blender/editors/space_outliner/outliner_draw.c +++ b/source/blender/editors/space_outliner/outliner_draw.c @@ -2164,6 +2164,9 @@ void draw_outliner(const bContext *C) /* get extents of data */ outliner_height(soops, &soops->tree, &sizey); + /* extend size to allow for horizontal scrollbar */ + sizey += V2D_SCROLL_HEIGHT; + if (soops->outlinevis == SO_DATA_API) { /* RNA has two columns: * - column 1 is (max_width + OL_RNA_COL_SPACEX) or _______________________________________________ Bf-blender-cvs mailing list [email protected] https://lists.blender.org/mailman/listinfo/bf-blender-cvs
