event-widget: Fix the indentation
It was purposefully left broken in the previous commit.
This commit is contained in:
committed by
Georges Basile Stavracas Neto
parent
b68f7a0083
commit
f7ef1aea65
@@ -31,39 +31,71 @@
|
|||||||
</object>
|
</object>
|
||||||
</child>
|
</child>
|
||||||
|
|
||||||
<!-- Overflow Bin -->
|
<!-- Overflow Bin -->
|
||||||
<child>
|
|
||||||
<object class="GcalOverflowBin">
|
|
||||||
<property name="hexpand">True</property>
|
|
||||||
<property name="request-mode">width-for-height</property>
|
|
||||||
<style>
|
|
||||||
<class name="content" />
|
|
||||||
</style>
|
|
||||||
|
|
||||||
<!-- Main Stack -->
|
|
||||||
<child>
|
<child>
|
||||||
<object class="AdwSqueezer" id="squeezer">
|
<object class="GcalOverflowBin">
|
||||||
<property name="hexpand">False</property>
|
<property name="hexpand">True</property>
|
||||||
<property name="homogeneous">False</property>
|
<property name="request-mode">width-for-height</property>
|
||||||
<property name="orientation">vertical</property>
|
<style>
|
||||||
|
<class name="content" />
|
||||||
|
</style>
|
||||||
|
|
||||||
<!-- Vertical page -->
|
<!-- Main Stack -->
|
||||||
<child>
|
<child>
|
||||||
<object class="GtkBox" id="vertical_box">
|
<object class="AdwSqueezer" id="squeezer">
|
||||||
<binding name="visible">
|
<property name="hexpand">False</property>
|
||||||
<closure type="gboolean" function="get_vertical_enabled">
|
<property name="homogeneous">False</property>
|
||||||
<lookup name="event">GcalEventWidget</lookup>
|
|
||||||
<lookup name="orientation">GcalEventWidget</lookup>
|
|
||||||
</closure>
|
|
||||||
</binding>
|
|
||||||
<property name="orientation">vertical</property>
|
<property name="orientation">vertical</property>
|
||||||
|
|
||||||
|
<!-- Vertical page -->
|
||||||
<child>
|
<child>
|
||||||
<object class="GcalOverflowBin">
|
<object class="GtkBox" id="vertical_box">
|
||||||
<property name="request-mode">width-for-height</property>
|
<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="timestamp_label" bind-property="label" bind-flags="default" />
|
||||||
|
<property name="xalign">0.0</property>
|
||||||
|
<style>
|
||||||
|
<class name="dim-label" />
|
||||||
|
</style>
|
||||||
|
</object>
|
||||||
|
</child>
|
||||||
|
</object>
|
||||||
|
</child>
|
||||||
<child>
|
<child>
|
||||||
<object class="GtkLabel">
|
<object class="GtkLabel">
|
||||||
<property name="label" bind-source="timestamp_label" bind-property="label" bind-flags="default" />
|
<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>
|
<property name="xalign">0.0</property>
|
||||||
|
</object>
|
||||||
|
</child>
|
||||||
|
</object>
|
||||||
|
</child>
|
||||||
|
|
||||||
|
<!-- Horizontal page -->
|
||||||
|
<child>
|
||||||
|
<object class="GtkBox" id="horizontal_box">
|
||||||
|
<property name="spacing">4</property>
|
||||||
|
<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="timestamp_label">
|
||||||
<style>
|
<style>
|
||||||
<class name="dim-label" />
|
<class name="dim-label" />
|
||||||
</style>
|
</style>
|
||||||
@@ -71,44 +103,12 @@
|
|||||||
</child>
|
</child>
|
||||||
</object>
|
</object>
|
||||||
</child>
|
</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>
|
</object>
|
||||||
</child>
|
</child>
|
||||||
|
|
||||||
<!-- Horizontal page -->
|
|
||||||
<child>
|
|
||||||
<object class="GtkBox" id="horizontal_box">
|
|
||||||
<property name="spacing">4</property>
|
|
||||||
<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="timestamp_label">
|
|
||||||
<style>
|
|
||||||
<class name="dim-label" />
|
|
||||||
</style>
|
|
||||||
</object>
|
|
||||||
</child>
|
|
||||||
</object>
|
|
||||||
</child>
|
|
||||||
|
|
||||||
</object>
|
</object>
|
||||||
</child>
|
</child>
|
||||||
</object>
|
</object>
|
||||||
</child>
|
</child>
|
||||||
</object>
|
|
||||||
</child>
|
|
||||||
</template>
|
</template>
|
||||||
</interface>
|
</interface>
|
||||||
|
|||||||
Reference in New Issue
Block a user