ripose-jp / Memento

An mpv-based video player for studying Japanese
https://ripose-jp.github.io/Memento/
GNU General Public License v2.0
472 stars 22 forks source link

In the subtitle list, align timestamps to the top instead of the middle. #193

Closed max-kamps closed 8 months ago

max-kamps commented 8 months ago

When subtitles span multiple lines, it can be hard to tell where one subtitle line begins and another ends.

image

If the timestamp was aligned to the top instead, it would align with the start of the subtitle text. (Which makes more sense)

image

ripose-jp commented 8 months ago

I'm not going to change the current behavior since English language fonts tend to be shorter than Japanese language fonts, so it ends up making the timestamps appear higher up than they should be. This problem doesn't exist when aligning them in the center.

image

If you need more delineation between rows, you can add stuff like this to your style sheets under Interface settings. Change the colors however you like.

QTableView::item {
    border-top: 1px solid gray;
    border-bottom: 1px solid gray;
}

QTableView::item::selected {
    background-color: #346e8e;
}

image