Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoshua Leung <aligorith@gmail.com>2009-09-04 15:19:12 +0400
committerJoshua Leung <aligorith@gmail.com>2009-09-04 15:19:12 +0400
commit0e40abf642b4360212b72791a01b4e7fe0cfacf5 (patch)
tree36f73549309fdd07ecedccaddb36b95dfc7fcd52 /source/blender/editors/space_outliner
parent1e6efcc96526a0d1ba16384c5500959ec9b5824d (diff)
2.5 - Patches + Cleanups
* Some of the patches in patch #19034 - by Wolfgang W. (bender) - outliner.patch - a small fix to make the outliner draw the last line of the list, if the list is bigger than the window. - scroll.patch - enables vertical scrolling in the buttons window in horizontal mode. Necessary if a panel is opened that is higher than the buttons window. * Also, fixed some messy comments in drivers code
Diffstat (limited to 'source/blender/editors/space_outliner')
-rw-r--r--source/blender/editors/space_outliner/outliner.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/editors/space_outliner/outliner.c b/source/blender/editors/space_outliner/outliner.c
index e6cd9c0e448..a9a9a5dab5f 100644
--- a/source/blender/editors/space_outliner/outliner.c
+++ b/source/blender/editors/space_outliner/outliner.c
@@ -5288,6 +5288,9 @@ void draw_outliner(const bContext *C)
sizex += OL_TOGW*3;
}
+ /* tweak to display last line (when list bigger than window) */
+ sizey += V2D_SCROLL_HEIGHT;
+
/* update size of tot-rect (extents of data/viewable area) */
UI_view2d_totRect_set(v2d, sizex, sizey);