[gnome-characters] categoryList: Allocate more spaces around icons
- From: Daiki Ueno <dueno src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-characters] categoryList: Allocate more spaces around icons
- Date: Mon, 2 Mar 2015 09:33:09 +0000 (UTC)
commit 6fb1c8e95839af21a775922118d0edb12eea197c
Author: Daiki Ueno <dueno src gnome org>
Date: Mon Mar 2 18:29:30 2015 +0900
categoryList: Allocate more spaces around icons
data/application.css | 2 +-
src/categoryList.js | 3 ++-
2 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/data/application.css b/data/application.css
index 0c1d828..47558f9 100644
--- a/data/application.css
+++ b/data/application.css
@@ -1,4 +1,4 @@
-.category-label {
+.category-image, .category-label {
padding: 3pt;
}
diff --git a/src/categoryList.js b/src/categoryList.js
index efdaa18..82beff7 100644
--- a/src/categoryList.js
+++ b/src/categoryList.js
@@ -93,7 +93,8 @@ const CategoryListRowWidget = new Lang.Class({
this.get_accessible().accessible_name =
_('%s Category List Row').format(category.title);
- let hbox = new Gtk.Box({ orientation: Gtk.Orientation.HORIZONTAL });
+ let hbox = new Gtk.Box({ orientation: Gtk.Orientation.HORIZONTAL,
+ margin_start: 10 });
this.add(hbox);
let icon = new Gio.ThemedIcon({ name: category.icon_name });
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]