Fix Lua Pangolayout ellipsis width
This commit is contained in:
parent
7b733eb3f0
commit
7aaf212a9b
@ -210,7 +210,7 @@ class PangoLayout {
|
||||
* @param width The desired width in Pango units, or -1 to indicate that no
|
||||
* wrapping or ellipsization should be performed.
|
||||
*/
|
||||
void set_width (int width) {
|
||||
void set_width (float width) {
|
||||
_layout->set_width (width * PANGO_SCALE);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user