Increase max range of zoom slider?

Scott Kostyshak skostysh at lyx.org
Wed Sep 14 18:02:45 UTC 2022


On Wed, Sep 14, 2022 at 08:00:06PM +0200, Daniel wrote:
> 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.

Ah I didn't think about that. That makes sense.

Scott
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://lists.lyx.org/pipermail/lyx-devel/attachments/20220914/41b55469/attachment-0001.asc>


More information about the lyx-devel mailing list