From 3bd82854293d18ede0a80cb84d999ed83d1234c5 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Mon, 2 Dec 2013 14:08:32 +0530 Subject: [PATCH] ... --- src/calibre/gui2/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/calibre/gui2/__init__.py b/src/calibre/gui2/__init__.py index f42dac8f93..0f8e67596e 100644 --- a/src/calibre/gui2/__init__.py +++ b/src/calibre/gui2/__init__.py @@ -1054,7 +1054,7 @@ def rating_font(): return _rating_font def elided_text(text, font=None, width=300, pos='middle'): - ''' Return a version of text that is n wider than width pixels when + ''' Return a version of text that is no wider than width pixels when rendered, replacing characters from the left, middle or right (as per pos) of the string with an ellipsis. Results in a string much closer to the limit than Qt's elidedText().'''