Is your feature request related to a problem? Please describe.
The “Show Answer” and “Easy”, “Good”, “Hard”, and “Again” buttons are all misaligned with the centre. This is especially obvious with centre-aligned card templates.
As one can see above, the centre audio button is misaligned with the centre of Hard and Good. The mouse pointer is aligned with the card to ease the comparison. As my UI is in French (which I’m learning; my native language is English), it is more obvious.
I believe the reason they are misaligned is due to the widths of the side buttons but also the individual widths of the centre buttons as well. This is evident as the “Show answer” button is not centred, and the width of the answer buttons is clearly not uniform.
Describe the solution you’d like
Properly evenly aligned buttons that appear correctly in all languages. Presumably they’d have equal width and be correctly centred.
Note: This is Anki Desktop on Arch Linux
Version 24.06.3 (d678e393)
Python 3.12.4 Qt 6.7.2 PyQt 6.7.1
DE: occurs in both Xfce and i3m
This is not reproducible for me on Windows 11 (with ver 24.06.2 Qt6) – Direct3D video driver, with English or Turkish interface language (minimalist mode on or off). Both “Show Answer” and the grading buttons are properly centered. Is it possible this is a Linux-specific issue?
French looked the same for all video drivers (I did restart it) including Vulkan, OpenGL, and “Software”.
In English and most other languages including Spanish, Traditional Chinese and Occitan, the “edit” and “more” buttons are the same width. In languages where they are not, such as this cyrillic language I chose by random and French, the centre buttons are misaligned. I believe it is due to these mismatched button widths that the centre four buttons are misaligned.
I suggest that perhaps both of these buttons be assigned a fixed width? There could be problems for languages where they don’t fit however.
(Note: Ignore that the top bar is not a matching language; I didn’t bother to restart just for language changes as I didn’t need to. I did for video drivers and minimalist mode however.)
Let’s see what the devs have to say about whether it’s fixable. I’m sure @dae or another dev will comment when they have time to take a look. If it needs to be tracked in GitHub, they’ll take care of that.