Increase max range of zoom slider?

Daniel xracoonx at gmx.de
Wed Sep 14 18:00:06 UTC 2022


On 2022-09-14 17:44, Scott Kostyshak wrote:
> I tested the zoom slider today out of curiosity and it works very
> smoothly. One thing I noticed is that the maximum of the range is too
> small for my computer/eyes. The maximum is 290.
> 
> The range is set as follows:
> 
>    zoom_slider_->setRange(10, (lyxrc.defaultZoom * 2) - 10);
> 
> Perhaps my complaint should be with lyxrc.defaultZoom. I slightly recall
> that we've discussed it, and even took a poll on lyx-users, but I forgot
> what came of that.
> 
> For me, 10% is extremely small, and 290% is not that big. I know it is
> difficult to make it perfect for all computers/resolutions/eyes, but I'm
> curious about others. Is there support for increasing the upper range of
> the zoom slider?
> 
>  From a personal point of view, I don't use the slider so I don't have a
> strong opinion.
> 
> Scott

I don't think default zoom is the problem. To avoid the problem you 
encountered, other applications use non-linear zoom levels. For example, 
Word, Writer, Pages and Firefox with the former two having non-linear 
zoom sliders.

Daniel




More information about the lyx-devel mailing list