- Require libAfterImage 1.20 or later to fix issues with circular markers in batch mode - Add python26 subpackage for EPEL 5 - Fix an issue where the last item in a TGFontTypeComboBox is almost invisible (backported from upstream) - Add missing cstddef includes for gcc 4.6
20 lines
665 B
Diff
20 lines
665 B
Diff
--- trunk/gui/gui/src/TGListBox.cxx 2011/01/05 15:36:19 37716
|
|
+++ trunk/gui/gui/src/TGListBox.cxx 2011/01/05 15:38:02 37717
|
|
@@ -45,6 +45,7 @@
|
|
#include "TGResourcePool.h"
|
|
#include "TSystem.h"
|
|
#include "Riostream.h"
|
|
+#include "TMath.h"
|
|
#include <stdlib.h>
|
|
|
|
|
|
@@ -1492,7 +1493,8 @@
|
|
fVScrollbar->SetPosition(0);
|
|
}
|
|
|
|
- fVScrollbar->SetRange(container->GetHeight()/fItemVsize, fVport->GetHeight()/fItemVsize);
|
|
+ fVScrollbar->SetRange(TMath::Ceil((Double_t)container->GetHeight()/(Double_t)fItemVsize),
|
|
+ fVport->GetHeight()/fItemVsize);
|
|
//fClient->NeedRedraw(container);
|
|
((TGContainer *)container)->ClearViewPort();
|
|
}
|