Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Text labels not always centered #158

Open
probonopd opened this issue Nov 20, 2022 · 2 comments
Open

Text labels not always centered #158

probonopd opened this issue Nov 20, 2022 · 2 comments
Labels
bug Something isn't working good first issue Good for newcomers

Comments

@probonopd
Copy link
Member

probonopd commented Nov 20, 2022

Text labels not centered if second line has '...' and is shorter than first line

image

Bug must be somehwere in desktopitemdelegate.cpp, search for "elided" (=...).

It works correctly when the second line is not elided:

image

@probonopd probonopd added bug Something isn't working good first issue Good for newcomers labels Nov 20, 2022
@probonopd
Copy link
Member Author

A possible explanation might be that it is not using the correct font/size/weight to do the calculations.

@louies0623
Copy link

louies0623 commented Dec 4, 2022

It should be the number of words to calculate, not about the font.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants