UI: fix horizontal scrollbar overlapping last item.

Differential Revision: https://developer.blender.org/D4202
This commit is contained in:
Harley Acheson
2019-01-14 15:01:51 +01:00
committed by Brecht Van Lommel
parent b5b6555768
commit ed843774a8

View File

@@ -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