Set a maximum height for screenshots on algorithm pages.
Use the actual aspect ratio to then set the width if the height exceeds the preset maximum. Refs #9613
Showing
- Code/Mantid/MantidPlot/mantidplot.py 0 additions, 1 deletionCode/Mantid/MantidPlot/mantidplot.py
- Code/Mantid/docs/sphinxext/mantiddoc/directives/algorithm.py 33 additions, 22 deletionsCode/Mantid/docs/sphinxext/mantiddoc/directives/algorithm.py
- Code/Mantid/docs/sphinxext/mantiddoc/tools/screenshot.py 18 additions, 4 deletionsCode/Mantid/docs/sphinxext/mantiddoc/tools/screenshot.py
Loading
Please register or sign in to comment