UI: fix horizontal scrollbar overlapping last item.
Differential Revision: https://developer.blender.org/D4202
This commit is contained in:
committed by
Brecht Van Lommel
parent
b5b6555768
commit
ed843774a8
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user