-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Elide skin tag doesn't work if text is next to an expanding widget #7913
Comments
Commented by: daschuer Copying the GitHub message: So the problem is if there's a layout like: The width() call is wrong... if the text could fill up available space it doesn't and I get: instead of: I can rework LateNight to not use expanding widgets, but I'm going to put in a TODO and file a bug |
Commented by: daschuer I think the current behavior is correct in the first place. Of cause we can implement the other behavior, but it is an other degree of complexity, probably needs additional size hints from the skin. |
The solution is to re-implement the sizeHint() function to return the size of the not elided text as the desired optimum. |
…elide This fixes issue mixxxdj#7913
Fixed in #11194 |
Reported by: ywwg
Date: 2015-03-21T18:10:44Z
Status: Confirmed
Importance: Wishlist
Launchpad Issue: lp1434865
see: #506 (comment)
If elidable text is next to an expanding widget, even if the text is expanding, it will get prematurely elided and look wrong. My guess is the call to width() is incorrect.
The text was updated successfully, but these errors were encountered: