tweak ellipsis threshold introduced by 2010-05-14T18:27:23Z!alinkmaze@gmail.com
This commit is contained in:
parent
744aa1c853
commit
84f68f8c2c
1 changed files with 1 additions and 1 deletions
|
@ -2190,7 +2190,7 @@ void display::refresh_report(reports::TYPE report_num, reports::report report)
|
|||
surface s = text.render();
|
||||
|
||||
// check if next element is text with almost no space to show it
|
||||
const int minimal_text = 8; // width in pixels
|
||||
const int minimal_text = 12; // width in pixels
|
||||
if(!eol && rect.w - (x - rect.x + s->w) < minimal_text
|
||||
&& e+1 != report.end() && !(e+1)->text.empty())
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue