]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/qt4/GuiView.h
Set a maximum value to zoom level
[lyx.git] / src / frontends / qt4 / GuiView.h
index e78df4b7a9542bc8641967fce624cf7d8f447779..0b2b1f335639ec73fc1b11cf6c6a0a82c7a2dc21 100644 (file)
@@ -478,6 +478,8 @@ private:
        double zoom_ratio_ = 1.0;
        /// Minimum zoom percentage
        static int const zoom_min_ = 10;
+       /// Maximum zoom percentage
+       static int const zoom_max_ = 1000;
 
        // movability flag of all toolbars
        bool toolbarsMovable_;