Merge lp:~nicovdw/nux/fix-for-753083-2 into lp:nux
Proposed by
Nico van der Walt
Status: | Merged | ||||
---|---|---|---|---|---|
Merged at revision: | 333 | ||||
Proposed branch: | lp:~nicovdw/nux/fix-for-753083-2 | ||||
Merge into: | lp:nux | ||||
Diff against target: |
12 lines (+1/-1) 1 file modified
Nux/StaticText.cpp (+1/-1) |
||||
To merge this branch: | bzr merge lp:~nicovdw/nux/fix-for-753083-2 | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Didier Roche-Tolomelli | Approve | ||
Review via email: mp+58259@code.launchpad.net |
Description of the change
Changed GetTextSize to consider the correct font size when calculating text dimensions. Previously a default font size was assumed that prevented text to display correctly for font sizes larger than 12.
To post a comment you must log in.
Hi Didier,
This is an additional patch for bug 753083. I did not test for font sizes larger than 12 previously.
There is still another problem with big fonts where the text is vertically cut off (try font size of 18 to demonstrate). I have submitted another patch for unity that fixes that: lp:~nicovdw/unity/fix-combobox-height
Thanks
Nico