summaryrefslogtreecommitdiffstats
path: root/src/gs-feature-tile.ui
blob: fae458e1607a8cc41e932c1a38460a3eba14370c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
<?xml version="1.0" encoding="UTF-8"?>
<interface>
  <!-- interface-requires gtk+ 3.10 -->
  <template class="GsFeatureTile" parent="GsAppTile">
    <property name="visible">True</property>
    <property name="halign">fill</property>
    <style>
      <class name="featured-tile"/>
    </style>
    <child>
      <object class="GtkStack" id="stack">
        <property name="visible">True</property>
        <child>
          <object class="GtkImage" id="waiting">
            <property name="visible">True</property>
            <property name="halign">center</property>
            <property name="valign">center</property>
            <property name="pixel-size">16</property>
            <property name="icon-name">content-loading-symbolic</property>
            <style>
              <class name="dim-label"/>
            </style>
          </object>
          <packing>
            <property name="name">waiting</property>
          </packing>
        </child>
        <child>
          <object class="GtkBox" id="box">
            <property name="visible">True</property>
            <property name="hexpand">True</property>
            <property name="homogeneous">True</property>
            <child>
              <object class="GtkBox" id="box2">
                <property name="visible">True</property>
                <property name="halign">center</property>
                <property name="orientation">vertical</property>
                <property name="margin">50</property>
                <child>
                  <object class="GtkLabel" id="title">
                    <property name="visible">True</property>
                    <property name="xalign">0</property>
                    <property name="halign">center</property>
                    <property name="valign">end</property>
                    <property name="vexpand">True</property>
                    <property name="ellipsize">end</property>
                    <style>
                      <class name="title-1"/>
                    </style>
                  </object>
                </child>
                <child>
                  <object class="GtkLabel" id="subtitle">
                    <property name="visible">True</property>
                    <property name="ellipsize">end</property>
                    <property name="xalign">0</property>
                    <property name="halign">center</property>
                    <property name="valign">start</property>
                    <style>
                      <class name="caption"/>
                    </style>
                  </object>
                </child>
              </object>
            </child>
          </object>
          <packing>
            <property name="name">content</property>
          </packing>
        </child>
      </object>
    </child>
  </template>
</interface>