summaryrefslogtreecommitdiff
path: root/wikipedia/widgets
diff options
context:
space:
mode:
authorPhilip Chimento <philip@endlessm.com>2014-01-17 13:09:56 -0200
committerPhilip Chimento <philip@endlessm.com>2014-01-20 13:39:05 -0200
commit1d4da0f44c0f02a482fa4850567cebac9212e180 (patch)
tree70947536d2b3a3d072050fa67033df1c22cad20d /wikipedia/widgets
parentb3a39a7671e80db4ad21c7fe15f9384f4300dcc5 (diff)
Article list titles should be in normal case
Previously, they were upper case. [endlessm/eos-sdk#500]
Diffstat (limited to 'wikipedia/widgets')
-rw-r--r--wikipedia/widgets/ListTextButton.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/wikipedia/widgets/ListTextButton.js b/wikipedia/widgets/ListTextButton.js
index b676b8c..7a2c7ec 100644
--- a/wikipedia/widgets/ListTextButton.js
+++ b/wikipedia/widgets/ListTextButton.js
@@ -6,7 +6,7 @@ const Pango = imports.gi.Pango;
// This is an approximate number of characters that will keep the label from
// going over its specified width
-const ARTICLE_LABEL_MAX_WIDTH_CHARS = 22;
+const ARTICLE_LABEL_MAX_WIDTH_CHARS = 30;
const ListTextButton = new Lang.Class({
Name: 'EndlessListTextButton',
@@ -30,7 +30,7 @@ const ListTextButton = new Lang.Class({
});
this._label = new Gtk.Label({
- label: label_text.toUpperCase(),
+ label: label_text,
max_width_chars: ARTICLE_LABEL_MAX_WIDTH_CHARS,
ellipsize: Pango.EllipsizeMode.END
});