summaryrefslogtreecommitdiffstats
path: root/src/gs-category-tile.ui
diff options
context:
space:
mode:
Diffstat (limited to 'src/gs-category-tile.ui')
-rw-r--r--src/gs-category-tile.ui33
1 files changed, 33 insertions, 0 deletions
diff --git a/src/gs-category-tile.ui b/src/gs-category-tile.ui
new file mode 100644
index 0000000..6b5b1a7
--- /dev/null
+++ b/src/gs-category-tile.ui
@@ -0,0 +1,33 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<interface>
+ <!-- interface-requires gtk+ 3.10 -->
+ <template class="GsCategoryTile" parent="GtkButton">
+ <style>
+ <class name="card"/>
+ <class name="category-tile"/>
+ </style>
+ <child>
+ <object class="GtkBox" id="box">
+ <property name="halign">center</property>
+ <property name="orientation">horizontal</property>
+ <property name="spacing">10</property>
+ <child>
+ <object class="GtkImage" id="image">
+ <!-- Placeholder; the actual icon is set in code -->
+ <property name="icon_name">folder-music-symbolic</property>
+ <property name="icon_size">large</property><!-- GTK_ICON_SIZE_LARGE -->
+ <style>
+ <class name="icon-dropshadow"/>
+ </style>
+ </object>
+ </child>
+ <child>
+ <object class="GtkLabel" id="label">
+ <property name="xalign">0</property>
+ <property name="ellipsize">end</property>
+ </object>
+ </child>
+ </object>
+ </child>
+ </template>
+</interface>