mtgto / Fomalhaut2

macOS comic viewer
GNU General Public License v3.0
42 stars 3 forks source link

Keep aspect ratio on viewer window #13

Open igorer88 opened 3 weeks ago

igorer88 commented 3 weeks ago

The viewer window changes as the pages sizes.

imagen

So sometimes the window gets out of scope when the image is bigger than the screen resolution. It's annoying to move the screen when the next image is bigger.

imagen

Is it possible to set a fixed size? So the image scale the aspect ratio to it.

Actually as the web version address this problem, but it would be nice to have it addressed on the native version too.

imagen

Thanks!

mtgto commented 3 weeks ago

So sometimes the window gets out of scope when the image is bigger than the screen resolution. It's annoying to move the screen when the next image is bigger.

~I thought I had implemented so that window would not be larger than the screen size, but it is probably a bug that it is not.~

~I will investigate. Thanks.~

I guess your comic has small first image and large images after that. That's correct, isn't it?

I suppose it would be possible to provide an option to fix the window height for the first image. Is that what you want?

igorer88 commented 2 weeks ago

yes, that's correct.

I think a better solution would be to set a fixed size for the window, and then scale the image based to that size.

Another solution would be to set a max width and max height for the window. So it won' t re-scale if the image is bigger than the screen size.