Closed drew2a closed 5 months ago
When I run Tribler from the main
branch from sources on Windows with Russian localization, this is what I see originally:
and this is what I see from the PR branch:
It looks like something should still be done with this arrow... (Note that the button is slightly wider, but that in itself is not a problem)
@kozlovsky thank you for your feedback. Could you please try the latest version of this PR? It seems that QT behaves differently on different OS.
Now, the menu arrow is not visible. But the button's text looks a bit too large as if it were the most important UI element on the page. It looks like the font size is not fixed, but somehow, it depends on the text length and size of additional items like the icon.
Now it looks good!
@kozlovsky thank you for your help.
Fixes #7965
The bug is a combination of two facts:
The solution is to change
QPushButton
toQToolButton
as it seems to work a bit more correctly in our specific case with hiding the menu indicator:Please note that the first commit is just a reformatting of the entire
mainwindow.ui
to maintain strict indentation.