summaryrefslogtreecommitdiff
path: root/wikipedia
diff options
context:
space:
mode:
authorMatt Watson <mattdangerw@gmail.com>2014-01-16 17:40:40 -0800
committerMatt Watson <mattdangerw@gmail.com>2014-01-16 17:40:40 -0800
commit7b6085244f22b207fdfbbb768063ee1f09105bf9 (patch)
tree4fa9976a1252c1a4fa4f01ebd55da53f29d01c24 /wikipedia
parent66b6c27feb6ce83e3b3c32b3387f25102f9ba677 (diff)
Fixed hit box of the category back button for wiki apps
It did not extend vertically or all the way to the left of the screen [endlessm/eos-sdk#458]
Diffstat (limited to 'wikipedia')
-rw-r--r--wikipedia/PrebuiltCategoryPage.js7
1 files changed, 4 insertions, 3 deletions
diff --git a/wikipedia/PrebuiltCategoryPage.js b/wikipedia/PrebuiltCategoryPage.js
index 4f38b41..ca2c783 100644
--- a/wikipedia/PrebuiltCategoryPage.js
+++ b/wikipedia/PrebuiltCategoryPage.js
@@ -120,13 +120,14 @@ const PrebuiltCategoryPage = new Lang.Class({
Gtk.PolicyType.AUTOMATIC);
this._back_button = new Endless.AssetButton({
+ name: "category-back-button",
+ expand: true,
+ halign: Gtk.Align.START,
valign: Gtk.Align.CENTER,
normal_image_uri: "resource://com/endlessm/wikipedia-domain/assets/introduction_back_button_normal.png",
active_image_uri: "resource://com/endlessm/wikipedia-domain/assets/introduction_back_button_pressed.png",
prelight_image_uri: "resource://com/endlessm/wikipedia-domain/assets/introduction_back_button_hover.png",
- label: _("OTHER CATEGORIES"),
- margin_right: 10,
- margin_left: 40
+ label: _("OTHER CATEGORIES")
});
this._back_button.connect('clicked', Lang.bind(this, function() {