summaryrefslogtreecommitdiffstats
path: root/src/gs-app-addon-row.ui
blob: 27384ea847addbe9c3b787d1a00281a4fe278c57 (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
75
76
77
78
<?xml version="1.0" encoding="UTF-8"?>
<interface>
  <!-- interface-requires gtk+ 3.10 -->
  <template class="GsAppAddonRow" parent="GtkListBoxRow">
    <property name="selectable">False</property>
    <child>
      <object class="GtkBox" id="box">
        <property name="margin-top">12</property>
        <property name="margin-bottom">12</property>
        <property name="margin-start">18</property>
        <property name="margin-end">18</property>
        <property name="orientation">horizontal</property>
        <child>
          <object class="GtkBox" id="name_box">
            <property name="margin-top">6</property>
            <property name="margin-bottom">6</property>
            <property name="orientation">vertical</property>
            <property name="valign">start</property>
            <property name="hexpand">True</property>
            <child>
              <object class="GtkLabel" id="name_label">
                <property name="margin-bottom">6</property>
                <property name="wrap">True</property>
                <property name="max_width_chars">20</property>
                <property name="xalign">0.0</property>
                <property name="yalign">0.5</property>
                <attributes>
                  <attribute name="weight" value="bold"/>
                </attributes>
              </object>
            </child>
            <child>
              <object class="GtkLabel" id="description_label">
                <property name="wrap">True</property>
                <property name="max_width_chars">20</property>
                <property name="xalign">0</property>
                <property name="yalign">0.5</property>
                <property name="vexpand">True</property>
                <style>
                  <class name="dim-label"/>
                </style>
              </object>
            </child>
          </object>
        </child>
        <child>
          <object class="GtkBox">
            <property name="orientation">horizontal</property>
            <property name="valign">center</property>
            <property name="hexpand">False</property>
            <child>
              <object class="GtkLabel" id="label">
                <property name="visible">False</property>
                <property name="margin_start">12</property>
                <property name="margin_end">12</property>
                <property name="width_request">100</property>
                <property name="xalign">1</property>
              </object>
            </child>
            <child>
              <object class="GtkButton" id="button_remove">
                <property name="visible">False</property>
                <property name="use_underline">True</property>
                <property name="label" translatable="yes">_Uninstall</property>
                <property name="width_request">105</property>
                <property name="can_focus">True</property>
              </object>
            </child>
            <child>
              <object class="GtkCheckButton" id="checkbox">
              </object>
            </child>
          </object>
        </child>
      </object>
    </child>
  </template>
</interface>