diff options
| -rw-r--r-- | win32/PlatWin.cxx | 4 | 
1 files changed, 3 insertions, 1 deletions
| diff --git a/win32/PlatWin.cxx b/win32/PlatWin.cxx index 9346c3fbe..c902104fd 100644 --- a/win32/PlatWin.cxx +++ b/win32/PlatWin.cxx @@ -1365,7 +1365,9 @@ Point ListBoxX::MinTrackSize() const {  }  Point ListBoxX::MaxTrackSize() const { -	PRectangle rc(0, 0, maxCharWidth * maxItemCharacters, ItemHeight() * lti.Count()); +	PRectangle rc(0, 0, maxCharWidth * maxItemCharacters +  +		 + TextOffset() + ::GetSystemMetrics(SM_CXVSCROLL),  +		ItemHeight() * lti.Count());  	AdjustWindowRect(&rc);  	return Point(rc.Width(), rc.Height());  } | 
