aboutsummaryrefslogtreecommitdiff
path: root/main/data/global_search.ui
blob: 610bcacefd7d93970a6dfe9d1236761347e895de (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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
<?xml version="1.0" encoding="UTF-8"?>
<interface>
    <requires lib="gtk" version="4.0"/>
    <object class="GtkOverlay" id="overlay">
        <property name="child">
            <object class="GtkBox">
                <property name="orientation">vertical</property>
                <child>
                    <object class="GtkSearchEntry" id="search_entry">
                        <property name="margin-start">12</property>
                        <property name="margin-end">12</property>
                        <property name="margin-top">12</property>
                        <property name="margin-bottom">12</property>
                    </object>
                </child>
                <child>
                    <object class="GtkStack" id="results_empty_stack">
                        <child>
                            <object class="GtkStackPage">
                                <property name="name">empty</property>
                                <property name="child">
                                    <object class="AdwStatusPage">
                                        <style>
                                            <class name="compact"/>
                                        </style>
                                        <property name="icon-name">system-search-symbolic</property>
                                        <property name="title" translatable="1">No active search</property>
                                        <property name="description" translatable="1">Type to start a search</property>
                                    </object>
                                </property>
                            </object>
                        </child>
                        <child>
                            <object class="GtkStackPage">
                                <property name="name">no-result</property>
                                <property name="child">
                                    <object class="AdwStatusPage">
                                        <style>
                                            <class name="compact"/>
                                        </style>
                                        <property name="icon-name">face-uncertain-symbolic</property>
                                        <property name="title" translatable="1">No matching messages</property>
                                        <property name="description" translatable="1">Check the spelling or try to remove filters</property>
                                    </object>
                                </property>
                            </object>
                        </child>
                        <child>
                            <object class="GtkStackPage">
                                <property name="name">results</property>
                                <property name="child">
                                    <object class="GtkBox">
                                        <property name="orientation">vertical</property>
                                        <child>
                                            <object class="GtkLabel" id="entry_number_label">
                                                <property name="xalign">0</property>
                                                <property name="use-markup">1</property>
                                                <property name="margin-start">17</property>
                                            </object>
                                        </child>
                                        <child>
                                            <object class="GtkScrolledWindow" id="results_scrolled">
                                                <property name="hscrollbar-policy">never</property>
                                                <property name="hexpand">1</property>
                                                <property name="vexpand">1</property>
                                                <property name="child">
                                                    <object class="GtkBox" id="results_box">
                                                        <property name="orientation">vertical</property>
                                                        <property name="spacing">25</property>
                                                        <property name="margin-start">10</property>
                                                        <property name="margin-end">10</property>
                                                        <property name="margin-top">10</property>
                                                        <property name="margin-bottom">10</property>
                                                        <property name="valign">start</property>
                                                    </object>
                                                </property>
                                            </object>
                                        </child>
                                    </object>
                                </property>
                            </object>
                        </child>
                    </object>
                </child>
            </object>
        </property>
        <child type="overlay">
            <object class="GtkFrame" id="auto_complete_overlay">
                <property name="margin-top">42</property>
                <property name="margin-start">12</property>
                <property name="margin-end">12</property>
                <property name="valign">start</property>
                <style>
                    <class name="auto-complete"/>
                </style>
                <property name="child">
                    <object class="GtkListBox" id="auto_complete_list">
                        <property name="selection-mode">browse</property>
                    </object>
                </property>
            </object>
        </child>
    </object>
</interface>