<?xml version="1.0" encoding="UTF-8"?>
<interface>
  <requires lib="gtk+" version="3.10"/>
  <template class="GsSearchPage" parent="GsPage">
    <child internal-child="accessible">
      <object class="AtkObject" id="search-accessible">
        <property name="accessible-name" translatable="yes">Search page</property>
      </object>
    </child>
    <child>
      <object class="GtkStack" id="stack_search">
        <property name="visible">True</property>
        <child>
          <object class="HdyStatusPage">
            <property name="visible">True</property>
            <property name="icon_name">org.gnome.Software-symbolic</property>
            <property name="title" translatable="yes">Search for Apps</property>
          </object>
          <packing>
            <property name="name">no-search</property>
          </packing>
        </child>
        <child>
          <object class="GtkSpinner" id="spinner_search">
            <property name="visible">True</property>
            <property name="width_request">32</property>
            <property name="height_request">32</property>
            <property name="halign">center</property>
            <property name="valign">center</property>
          </object>
          <packing>
            <property name="name">spinner</property>
          </packing>
        </child>
        <child>
          <object class="HdyStatusPage" id="noresults_grid_search">
            <property name="visible">True</property>
            <property name="icon_name">org.gnome.Software-symbolic</property>
            <property name="title" translatable="yes">No Application Found</property>
          </object>
          <packing>
            <property name="name">no-results</property>
          </packing>
        </child>
        <child>
          <object class="GtkScrolledWindow" id="scrolledwindow_search">
            <property name="visible">True</property>
            <property name="can_focus">True</property>
            <property name="hscrollbar_policy">never</property>
            <property name="vscrollbar_policy">automatic</property>
            <property name="shadow_type">none</property>
            <style>
              <class name="list-page"/>
            </style>
            <child>
              <object class="HdyClamp">
                <property name="visible">True</property>
                <property name="maximum-size">860</property>
                <!-- ~⅔ of the maximum size. -->
                <property name="tightening-threshold">576</property>
                <child>
                  <object class="GtkListBox" id="list_box_search">
                    <property name="visible">True</property>
                    <property name="can_focus">True</property>
                    <property name="selection_mode">none</property>
                    <style>
                      <class name="section"/>
                      <class name="content"/>
                    </style>
                  </object>
                </child>
              </object>
            </child>
          </object>
          <packing>
            <property name="name">results</property>
          </packing>
        </child>
      </object>
    </child>
  </template>
</interface>
