MantisBT - VTK
View Issue Details
0008270VTK(No Category)public2008-12-09 12:292016-08-12 09:55
Michael Knopke 
Kitware Robot 
normalminoralways
closedmoved 
 
 
0008270: vtkSliderRepresentation2D doesn't scale correctly to window changes
If vtkSliderWidget uses vtkSliderRepresentation2D and is vertically aligned, any changes to the aspect ratio of the render-window will lead to wrong scaling of the widget. This doesn't happen if the widget is horizontally aligned in the view.
Steps to reproduce:

Just change line 128 in File CameraAndSliderWidget.tcl from:
  [sliderRep GetPoint1Coordinate] SetValue 0.3 0.1

To:
  [sliderRep GetPoint1Coordinate] SetValue 0.9 0.1

 

and line 130:

[sliderRep GetPoint2Coordinate] SetValue 0.9 0.1
To:
[sliderRep GetPoint2Coordinate] SetValue 0.9 0.9

Now try resizing the the window, the Widget will not scale correctly...
No tags attached.
Issue History
2008-12-09 12:29Michael KnopkeNew Issue
2011-06-16 13:11Zack GalbreathCategory => (No Category)
2016-08-12 09:55Kitware RobotNote Added: 0037048
2016-08-12 09:55Kitware RobotStatusexpired => closed
2016-08-12 09:55Kitware RobotResolutionopen => moved
2016-08-12 09:55Kitware RobotAssigned To => Kitware Robot

Notes
(0037048)
Kitware Robot   
2016-08-12 09:55   
Resolving issue as `moved`.

This issue tracker is no longer used. Further discussion of this issue may take place in the current VTK Issues page linked in the banner at the top of this page.