mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-11 12:25:53 +00:00
bug 95348 patch by sergei_d@fi.tartu.ee r=timeless a=asa
[FIX]BEOS - nsListBox does not display scroll bars properly, and has a poor repaint
This commit is contained in:
parent
fee201085d
commit
8509821897
@ -236,6 +236,9 @@ NS_METHOD nsScrollbar::GetLineIncrement(PRUint32& aSize)
|
||||
NS_METHOD nsScrollbar::SetParameters(PRUint32 aMaxRange, PRUint32 aThumbSize,
|
||||
PRUint32 aPosition, PRUint32 aLineIncrement)
|
||||
{
|
||||
mScrollbar->LockLooper();
|
||||
mScrollbar->SetResizingMode(B_FOLLOW_NONE);
|
||||
mScrollbar->UnlockLooper();
|
||||
SetMaxRange(aMaxRange);
|
||||
SetThumbSize(aThumbSize);
|
||||
SetPosition(aPosition);
|
||||
|
Loading…
Reference in New Issue
Block a user