carousel: Reindent file
No functional changes, just reindent the file.
This commit is contained in:
parent
a9290f86b9
commit
cd7d6a3845
|
@ -6,87 +6,89 @@
|
||||||
<template class="MctCarousel" parent="AdwBin">
|
<template class="MctCarousel" parent="AdwBin">
|
||||||
<child>
|
<child>
|
||||||
<object class="GtkRevealer" id="revealer">
|
<object class="GtkRevealer" id="revealer">
|
||||||
<property name="transition_duration">400</property>
|
<property name="transition_duration">400</property>
|
||||||
<property name="reveal-child">True</property>
|
<property name="reveal-child">True</property>
|
||||||
<child>
|
|
||||||
<object class="GtkOverlay">
|
|
||||||
<property name="hexpand">True</property>
|
|
||||||
<child>
|
<child>
|
||||||
<object class="GtkStack" id="stack">
|
|
||||||
<property name="margin-top">16</property>
|
|
||||||
<property name="margin-bottom">16</property>
|
|
||||||
<property name="margin-start">16</property>
|
|
||||||
<property name="margin-end">16</property>
|
|
||||||
<property name="transition_duration">400</property>
|
|
||||||
<property name="transition_type">GTK_STACK_TRANSITION_TYPE_SLIDE_LEFT_RIGHT</property>
|
|
||||||
<style>
|
|
||||||
<class name="location-bar"/>
|
|
||||||
</style>
|
|
||||||
</object>
|
|
||||||
</child>
|
|
||||||
<child type="overlay">
|
|
||||||
<object class="GtkOverlay">
|
<object class="GtkOverlay">
|
||||||
|
<property name="hexpand">True</property>
|
||||||
<child>
|
<child>
|
||||||
<object class="GtkBox">
|
<object class="GtkStack" id="stack">
|
||||||
<property name="orientation">GTK_ORIENTATION_HORIZONTAL</property>
|
<property name="margin-top">16</property>
|
||||||
<property name="margin-top">12</property>
|
<property name="margin-bottom">16</property>
|
||||||
<property name="margin-bottom">12</property>
|
<property name="margin-start">16</property>
|
||||||
<property name="margin-start">12</property>
|
<property name="margin-end">16</property>
|
||||||
<property name="margin-end">12</property>
|
<property name="transition_duration">400</property>
|
||||||
<child>
|
<property name="transition_type">GTK_STACK_TRANSITION_TYPE_SLIDE_LEFT_RIGHT</property>
|
||||||
<object class="GtkButton" id="go_back_button">
|
<style>
|
||||||
<property name="visible">False</property>
|
<class name="location-bar"/>
|
||||||
<property name="valign">center</property>
|
</style>
|
||||||
<property name="icon_name">go-previous-symbolic</property>
|
|
||||||
<accessibility>
|
|
||||||
<property name="label" translatable="yes">Previous Page</property>
|
|
||||||
</accessibility>
|
|
||||||
<style>
|
|
||||||
<class name="circular"/>
|
|
||||||
</style>
|
|
||||||
<signal name="clicked" handler="mct_carousel_goto_previous_page" object="MctCarousel" swapped="no"/>
|
|
||||||
</object>
|
|
||||||
</child>
|
|
||||||
<child>
|
|
||||||
<object class="GtkButton" id="go_next_button">
|
|
||||||
<property name="valign">center</property>
|
|
||||||
<property name="halign">end</property>
|
|
||||||
<property name="hexpand">True</property>
|
|
||||||
<property name="icon_name">go-next-symbolic</property>
|
|
||||||
<accessibility>
|
|
||||||
<property name="label" translatable="yes">Next Page</property>
|
|
||||||
</accessibility>
|
|
||||||
<style>
|
|
||||||
<class name="circular"/>
|
|
||||||
</style>
|
|
||||||
<signal name="clicked" handler="mct_carousel_goto_next_page" object="MctCarousel" swapped="no"/>
|
|
||||||
</object>
|
|
||||||
</child>
|
|
||||||
</object>
|
</object>
|
||||||
</child>
|
</child>
|
||||||
<child type="overlay">
|
<child type="overlay">
|
||||||
<object class="GtkBox">
|
<object class="GtkOverlay">
|
||||||
<property name="can-focus">False</property>
|
|
||||||
<property name="valign">GTK_ALIGN_END</property>
|
|
||||||
<style>
|
|
||||||
<class name="carousel-arrow-container"/>
|
|
||||||
</style>
|
|
||||||
<child>
|
<child>
|
||||||
<object class="GtkOverlay">
|
<object class="GtkBox">
|
||||||
|
<property name="orientation">GTK_ORIENTATION_HORIZONTAL</property>
|
||||||
|
<property name="margin-top">12</property>
|
||||||
|
<property name="margin-bottom">12</property>
|
||||||
|
<property name="margin-start">12</property>
|
||||||
|
<property name="margin-end">12</property>
|
||||||
<child>
|
<child>
|
||||||
<object class="GtkBox" id="arrow">
|
<object class="GtkButton" id="go_back_button">
|
||||||
<property name="halign">GTK_ALIGN_END</property>
|
<property name="visible">False</property>
|
||||||
|
<property name="valign">center</property>
|
||||||
|
<property name="icon_name">go-previous-symbolic</property>
|
||||||
|
<accessibility>
|
||||||
|
<property name="label" translatable="yes">Previous Page</property>
|
||||||
|
</accessibility>
|
||||||
<style>
|
<style>
|
||||||
<class name="carousel-arrow"/>
|
<class name="circular"/>
|
||||||
</style>
|
</style>
|
||||||
|
<signal name="clicked" handler="mct_carousel_goto_previous_page" object="MctCarousel" swapped="no"/>
|
||||||
</object>
|
</object>
|
||||||
</child>
|
</child>
|
||||||
<child type="overlay">
|
<child>
|
||||||
<object class="GtkBox">
|
<object class="GtkButton" id="go_next_button">
|
||||||
<property name="halign">GTK_ALIGN_END</property>
|
<property name="valign">center</property>
|
||||||
|
<property name="halign">end</property>
|
||||||
|
<property name="hexpand">True</property>
|
||||||
|
<property name="icon_name">go-next-symbolic</property>
|
||||||
|
<accessibility>
|
||||||
|
<property name="label" translatable="yes">Next Page</property>
|
||||||
|
</accessibility>
|
||||||
<style>
|
<style>
|
||||||
<class name="carousel-inner-arrow"/>
|
<class name="circular"/>
|
||||||
</style>
|
</style>
|
||||||
|
<signal name="clicked" handler="mct_carousel_goto_next_page" object="MctCarousel" swapped="no"/>
|
||||||
|
</object>
|
||||||
|
</child>
|
||||||
|
</object>
|
||||||
|
</child>
|
||||||
|
<child type="overlay">
|
||||||
|
<object class="GtkBox">
|
||||||
|
<property name="can-focus">False</property>
|
||||||
|
<property name="valign">GTK_ALIGN_END</property>
|
||||||
|
<style>
|
||||||
|
<class name="carousel-arrow-container"/>
|
||||||
|
</style>
|
||||||
|
<child>
|
||||||
|
<object class="GtkOverlay">
|
||||||
|
<child>
|
||||||
|
<object class="GtkBox" id="arrow">
|
||||||
|
<property name="halign">GTK_ALIGN_END</property>
|
||||||
|
<style>
|
||||||
|
<class name="carousel-arrow"/>
|
||||||
|
</style>
|
||||||
|
</object>
|
||||||
|
</child>
|
||||||
|
<child type="overlay">
|
||||||
|
<object class="GtkBox">
|
||||||
|
<property name="halign">GTK_ALIGN_END</property>
|
||||||
|
<style>
|
||||||
|
<class name="carousel-inner-arrow"/>
|
||||||
|
</style>
|
||||||
|
</object>
|
||||||
|
</child>
|
||||||
</object>
|
</object>
|
||||||
</child>
|
</child>
|
||||||
</object>
|
</object>
|
||||||
|
@ -97,7 +99,5 @@
|
||||||
</child>
|
</child>
|
||||||
</object>
|
</object>
|
||||||
</child>
|
</child>
|
||||||
</object>
|
|
||||||
</child>
|
|
||||||
</template>
|
</template>
|
||||||
</interface>
|
</interface>
|
||||||
|
|
Loading…
Reference in New Issue