ui: Set the correct Pango ellpisizing mode
Whoops.
This commit is contained in:
parent
62183363b1
commit
2425b89789
2 changed files with 2 additions and 2 deletions
|
@ -2916,7 +2916,7 @@ void display::refresh_report(const std::string& report_name, const config * new_
|
|||
.set_foreground_color(item->font_rgb_set() ? item->font_rgb() : color_t{})
|
||||
.set_maximum_width(area.w)
|
||||
.set_maximum_height(area.h, false)
|
||||
.set_ellipse_mode(PANGO_ELLIPSIZE_NONE)
|
||||
.set_ellipse_mode(PANGO_ELLIPSIZE_END)
|
||||
.set_characters_per_line(0);
|
||||
|
||||
surface s = text.render();
|
||||
|
|
|
@ -101,7 +101,7 @@ surface floating_label::create_surface()
|
|||
.set_foreground_color(color_)
|
||||
.set_maximum_width(width_ < 0 ? clip_rect_.w : width_)
|
||||
.set_maximum_height(height_ < 0 ? clip_rect_.h : height_, true)
|
||||
.set_ellipse_mode(PANGO_ELLIPSIZE_NONE)
|
||||
.set_ellipse_mode(PANGO_ELLIPSIZE_END)
|
||||
.set_characters_per_line(0);
|
||||
|
||||
// ignore last '\n'
|
||||
|
|
Loading…
Add table
Reference in a new issue