YomikoR / VapourSynth-Editor

Branch vse-previewer for standalone previewer. Branch vs-api4 for an IDE with a text editor. Branch master for "stability". Forked from https://bitbucket.org/mystery_keeper/vapoursynth-editor
Other
141 stars 10 forks source link

Bigger timeline bar? #21

Closed l00tzOMG closed 2 years ago

l00tzOMG commented 2 years ago

First of all, I really appreciate your work. Good job!

Any chance to implement a similar timeline bar present in the gundamftw fork? It is not just bigger but zoomable also. It would be really great for WQHD and UHD displays, where the original timeline bar is itsy-bitsy.

I assume this is the main commit for the relevant code is: https://bitbucket.org/gundamftw/vapoursynth-editor-2/commits/c64488c661c30f82b90674ab960222ae124e7590

Keep up the good work, Cheers

Ryuukishi commented 2 years ago

I don't disagree that the current timeline bar is small especially on bigger screens, but at the same time I also feel like the timeline bar in VapourSynth Editor 2 is way too big and takes up too much of the window.

YomikoR commented 2 years ago

High DPI support has been much improved since Qt 6. Below is a snapshot for WQHD display at 225%. unknown Do you need further adjustments?

l00tzOMG commented 2 years ago

Which version is this? Or is this only because of DPI scaling is set to 225%?

I'm using mod4 and on a 4k display the height of the timeline bar (bar + numbers on top) is almost the same as the height of the cursor. This is definitely small for me and hard to position. I agree, that in the "2" fork, it is oversized and the optimum would be in-between. I'm using DPI 150% BTW (and I don't want to use higher as a global option in Windows). See attached screenshot (sample image has a standard FullHD resolution).

Screenshot 2021-12-18 105408
YomikoR commented 2 years ago

Which version is this? Or is this only because of DPI scaling is set to 225%?

Forgot to upload. You may take a look at the recent pre-release.

l00tzOMG commented 2 years ago

Thanks, it's slightly bigger now. However, I would be happy with the ~twice of its current size.

Screenshot 2021-12-18 185326
YomikoR commented 2 years ago

I'll try to find a workaround. Maybe ending up with a global scaling factor. For now another option is QT_SCALE_FACTOR=1.5 ./vsedit.exe (for Qt 5 as well, but former uploaded builds enlarge the preview clip). For coordination between two or more monitors (with different scaling ratio) I would just give up.

l00tzOMG commented 2 years ago

Thank you for your efforts.

YomikoR commented 2 years ago

Sorry, I'm really dumb for this UI stuff.

If you would like to create a shortcut to launch vsedit.exe at a given (global) scaling factor (based on existing DPI), you may fill the target as

C:\Windows\System32\cmd.exe /c "SET QT_SCALE_FACTOR=1.5 && START /D ^"C:\Program Files\VapourSynth Editor^" vsedit.exe"

The path may also be relative from where you visit.

l00tzOMG commented 2 years ago

Thanks, it's not perfect, but a lot better now!