diff options
author | Harley Acheson <harley> | 2019-01-14 17:01:51 +0300 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2019-01-14 17:20:31 +0300 |
commit | ed843774a8b71c426ce8d800abaa4705df0ea28f (patch) | |
tree | 877d5d9a201bda4be58dd0cec124bd78efbe504a /source/blender/editors/space_outliner/outliner_draw.c | |
parent | b5b6555768a34c2a08942575f232523470d2c7d0 (diff) |
UI: fix horizontal scrollbar overlapping last item.
Differential Revision: https://developer.blender.org/D4202
Diffstat (limited to 'source/blender/editors/space_outliner/outliner_draw.c')
-rw-r--r-- | source/blender/editors/space_outliner/outliner_draw.c | 3 |
1 files changed, 3 insertions, 0 deletions
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 |