MCPcopy Create free account
hub / github.com/YACReader/yacreader / fitToHeight

Method fitToHeight

YACReader/main_window_viewer.cpp:1257–1262  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1255 viewer->updatePage();
1256}
1257void MainWindowViewer::fitToHeight()
1258{
1259 Configuration::getConfiguration().setFitMode(YACReader::FitMode::ToHeight);
1260 viewer->setZoomFactor(100);
1261 viewer->updatePage();
1262}
1263
1264void MainWindowViewer::toggleWidthHeight()
1265{

Callers

nothing calls this directly

Calls 3

setFitModeMethod · 0.80
updatePageMethod · 0.80
setZoomFactorMethod · 0.45

Tested by

no test coverage detected