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

chore: move elideText logic to itemdata #150

Merged
merged 1 commit into from
Aug 25, 2023

Conversation

Decodetalkers
Copy link
Contributor

Log:

@Decodetalkers
Copy link
Contributor Author

新的需求要求text行数是长度可变的,但是在delegate里面第一次就已经确定了sizehint了。所以就是之后换font大小,原来的sizehint也不会变化,那这里面计算放到paintevent里面就没有太多意义了

@deepin-ci-robot
Copy link

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: BLumia, Decodetalkers

The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@Decodetalkers
Copy link
Contributor Author

/merge

@deepin-bot deepin-bot bot merged commit d48c5d0 into linuxdeepin:master Aug 25, 2023
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants