Adjust the steps of the downloads window scrollbar.
git-svn-id: http://svn.haiku-os.org/webpositive/webkit/trunk@343 94f232f2-1747-11df-bad5-a5bfde151594
This commit is contained in:
parent
0430f93fe3
commit
2e70c4bf9b
@ -435,6 +435,11 @@ protected:
|
|||||||
scrollBar->MoveBy(1, -1);
|
scrollBar->MoveBy(1, -1);
|
||||||
scrollBar->ResizeBy(0, 2);
|
scrollBar->ResizeBy(0, 2);
|
||||||
Target()->ResizeBy(1, 0);
|
Target()->ResizeBy(1, 0);
|
||||||
|
// Set the scroll steps
|
||||||
|
if (BView* item = Target()->ChildAt(0)) {
|
||||||
|
scrollBar->SetSteps(item->MinSize().height + 1,
|
||||||
|
item->MinSize().height + 1);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user