event-widget: Fix the indentation

This commit is contained in:
Adrien Plazas
2022-06-15 11:34:03 -03:00
committed by Georges Basile Stavracas Neto
parent 2baa96d29f
commit e370aebac4
+71 -71
View File
@@ -25,87 +25,87 @@
<object class="GcalOverflowBin">
<property name="request-mode">width-for-height</property>
<!-- Main Stack -->
<child>
<object class="AdwSqueezer" id="squeezer">
<property name="hexpand">False</property>
<property name="homogeneous">False</property>
<property name="margin-top">1</property>
<property name="margin-bottom">1</property>
<property name="margin-start">6</property>
<property name="margin-end">4</property>
<property name="orientation">vertical</property>
<!-- Vertical page -->
<!-- Main Stack -->
<child>
<object class="GtkBox" id="vertical_box">
<binding name="visible">
<closure type="gboolean" function="get_vertical_enabled">
<lookup name="event">GcalEventWidget</lookup>
<lookup name="orientation">GcalEventWidget</lookup>
</closure>
</binding>
<object class="AdwSqueezer" id="squeezer">
<property name="hexpand">False</property>
<property name="homogeneous">False</property>
<property name="margin-top">1</property>
<property name="margin-bottom">1</property>
<property name="margin-start">6</property>
<property name="margin-end">4</property>
<property name="orientation">vertical</property>
<!-- Vertical page -->
<child>
<object class="GcalOverflowBin">
<property name="request-mode">width-for-height</property>
<child>
<object class="GtkLabel">
<property name="label" bind-source="hour_label" bind-property="label" bind-flags="default" />
<property name="xalign">0.0</property>
<style>
<class name="dim-label" />
</style>
</object>
</child>
<object class="GtkBox" id="vertical_box">
<binding name="visible">
<closure type="gboolean" function="get_vertical_enabled">
<lookup name="event">GcalEventWidget</lookup>
<lookup name="orientation">GcalEventWidget</lookup>
</closure>
</binding>
<property name="orientation">vertical</property>
<child>
<object class="GcalOverflowBin">
<property name="request-mode">width-for-height</property>
<child>
<object class="GtkLabel">
<property name="label" bind-source="hour_label" bind-property="label" bind-flags="default" />
<property name="xalign">0.0</property>
<style>
<class name="dim-label" />
</style>
</object>
</child>
</object>
</child>
<child>
<object class="GtkLabel">
<property name="label" bind-source="summary_label" bind-property="label" bind-flags="default" />
<property name="wrap">True</property>
<property name="wrap-mode">word-char</property>
<property name="hexpand">True</property>
<property name="xalign">0.0</property>
</object>
</child>
</object>
</child>
<!-- Horizontal page -->
<child>
<object class="GtkLabel">
<property name="label" bind-source="summary_label" bind-property="label" bind-flags="default" />
<property name="wrap">True</property>
<property name="wrap-mode">word-char</property>
<property name="hexpand">True</property>
<property name="xalign">0.0</property>
<object class="GtkBox" id="horizontal_box">
<property name="spacing">4</property>
<child>
<object class="GtkBox" id="color_box">
<property name="halign">center</property>
<property name="valign">center</property>
<property name="width-request">16</property>
<property name="height-request">16</property>
<style>
<class name="icon-box" />
</style>
</object>
</child>
<child>
<object class="GtkLabel" id="summary_label">
<property name="hexpand">True</property>
<property name="xalign">0.0</property>
<property name="ellipsize">end</property>
</object>
</child>
<child>
<object class="GtkLabel" id="hour_label">
<style>
<class name="dim-label" />
</style>
</object>
</child>
</object>
</child>
</object>
</child>
<!-- Horizontal page -->
<child>
<object class="GtkBox" id="horizontal_box">
<property name="spacing">4</property>
<child>
<object class="GtkBox" id="color_box">
<property name="halign">center</property>
<property name="valign">center</property>
<property name="width-request">16</property>
<property name="height-request">16</property>
<style>
<class name="icon-box" />
</style>
</object>
</child>
<child>
<object class="GtkLabel" id="summary_label">
<property name="hexpand">True</property>
<property name="xalign">0.0</property>
<property name="ellipsize">end</property>
</object>
</child>
<child>
<object class="GtkLabel" id="hour_label">
<style>
<class name="dim-label" />
</style>
</object>
</child>
</object>
</child>
</object>
</child>
</object>
</child>
</template>