From 7b6085244f22b207fdfbbb768063ee1f09105bf9 Mon Sep 17 00:00:00 2001 From: Matt Watson Date: Thu, 16 Jan 2014 17:40:40 -0800 Subject: 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] --- wikipedia/PrebuiltCategoryPage.js | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'wikipedia') 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() { -- cgit v1.2.3