<?xml version="1.0" encoding="UTF-8"?>
<interface>
  <template class="RoomTitle" parent="AdwBin">
    <child>
      <object class="GtkBox" id="box">
        <property name="orientation">vertical</property>
        <property name="halign">center</property>
        <property name="valign">center</property>
        <child>
          <object class="GtkLabel" id="title_label">
            <property name="focusable">True</property>
            <property name="ellipsize">end</property>
            <property name="halign">center</property>
            <property name="wrap">False</property>
            <property name="single-line-mode">True</property>
            <property name="use-markup">True</property>
            <property name="width-chars">5</property>
            <property name="label" bind-source="RoomTitle" bind-property="title" bind-flags="sync-create"/>
            <property name="tooltip-markup" bind-source="RoomTitle" bind-property="title" bind-flags="sync-create"/>
            <style>
              <class name="title"/>
            </style>
          </object>
        </child>
        <child>
          <object class="GtkLabel" id="subtitle_label">
            <property name="focusable">True</property>
            <property name="ellipsize">end</property>
            <property name="halign">center</property>
            <property name="wrap">False</property>
            <property name="single-line-mode">True</property>
            <property name="use-markup">True</property>
            <property name="visible">False</property>
            <property name="label" bind-source="RoomTitle" bind-property="subtitle" bind-flags="sync-create"/>
            <property name="tooltip-markup" bind-source="RoomTitle" bind-property="subtitle" bind-flags="sync-create"/>
            <style>
              <class name="subtitle"/>
            </style>
          </object>
        </child>
      </object>
    </child>
  </template>
</interface>
