about summary refs log tree commit diff
path: root/src/gtk/task_row.ui
blob: 7184bc3e902f5f9e260091feca32348013b05caf (plain) (blame)
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
<?xml version="1.0" encoding="UTF-8"?>
<interface>
  <template class="FurTaskRow" parent="GtkListBoxRow">
    <child>
      <object class="GtkBox" id="row_box">
        <property name="orientation">horizontal</property>
        <property name="margin_top">5</property>
        <property name="margin_bottom">5</property>
        <property name="margin_end">12</property>
        <property name="margin_start">12</property>
        <property name="hexpand">True</property>
        <property name="spacing">3</property>
        <property name="valign">center</property>
        <property name="homogeneous">True</property>
        <child>
          <object class="GtkBox">
            <property name="orientation">vertical</property>
            <property name="spacing">3</property>
            <child>
              <object class="GtkLabel" id="task_name_label">
                <property name="halign">start</property>
                <property name="label" translatable="yes">Task</property>
                <property name="ellipsize">end</property>
                <property name="single_line_mode">True</property>
                <style>
                  <class name="heading"/>
                </style>
              </object>
            </child>
            <child>
              <object class="GtkLabel" id="task_tags_label">
                <property name="halign">start</property>
                <property name="ellipsize">end</property>
                <property name="single_line_mode">True</property>
                <style>
                  <class name="subtitle"/>
                </style>
              </object>
            </child>
          </object>
        </child>
        <child>
          <object class="GtkBox">
            <property name="halign">end</property>
            <child>
              <object class="GtkLabel" id="total_time_label">
                <property name="label" translatable="yes">Time</property>
                <property name="single_line_mode">True</property>
                <style>
                  <class name="numeric"/>
                </style>
              </object>
            </child>
            <child>
              <object class="GtkButton" id="restart_task_btn">
                <property name="icon-name">view-refresh-symbolic</property>
                <property name="has-frame">false</property>
              </object>
            </child>
          </object>
        </child>
      </object>
    </child>
  </template>
</interface>