|
@@ -841,8 +841,10 @@ void vtkVISUnContour::CreateScalarBar()
|
|
|
barActor->SetLookupTable((vtkScalarsToColors*)contourLookupTable_);
|
|
|
|
|
|
vtkScalarBarRepresentation* rep = vtkScalarBarRepresentation::New();
|
|
|
- rep->SetPosition(0.8, 0.1);
|
|
|
- rep->SetPosition2(0.08, 0.8);
|
|
|
+ //rep->SetPosition(0.8, 0.1);
|
|
|
+ //rep->SetPosition2(0.08, 0.8);
|
|
|
+ rep->SetPosition(0.88, 0.1);
|
|
|
+ rep->SetPosition2(0.08, 0.88);
|
|
|
//rep->SetMaximumSize(10, 50);
|
|
|
rep->ProportionalResizeOff();
|
|
|
rep->SetScalarBarActor(barActor);
|