[gnome-weather/wip/cdavis/ui-tweaks: 8/9] ui: Set crossfade transitions on all stacks
- From: Christopher Davis <christopherdavis src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-weather/wip/cdavis/ui-tweaks: 8/9] ui: Set crossfade transitions on all stacks
- Date: Fri, 12 Feb 2021 13:45:38 +0000 (UTC)
commit cdbe749b70ff985eaeee6bc17402f1026db63579
Author: Christopher Davis <christopherdavis gnome org>
Date: Fri Feb 12 05:35:57 2021 -0800
ui: Set crossfade transitions on all stacks
data/city.ui | 1 +
data/places-popover.ui | 1 +
data/weather-widget.ui | 1 +
data/window.ui | 1 +
4 files changed, 4 insertions(+)
---
diff --git a/data/city.ui b/data/city.ui
index 03b6a83..8d6c66b 100644
--- a/data/city.ui
+++ b/data/city.ui
@@ -3,6 +3,7 @@
<interface>
<requires lib="gtk+" version="3.0"/>
<template class="Gjs_WeatherView" parent="GtkStack">
+ <property name="transition_type">crossfade</property>
<child internal-child="accessible">
<object class="AtkObject" id="weather-view-accessible">
<property name="accessible-name" translatable="yes">City view</property>
diff --git a/data/places-popover.ui b/data/places-popover.ui
index 447e5e7..c96d16f 100644
--- a/data/places-popover.ui
+++ b/data/places-popover.ui
@@ -29,6 +29,7 @@
<property name="can-focus">False</property>
<property name="vexpand">False</property>
<property name="homogeneous">False</property>
+ <property name="transition_type">crossfade</property>
<child>
<object class="GtkGrid" id="auto-location-grid">
<property name="visible">True</property>
diff --git a/data/weather-widget.ui b/data/weather-widget.ui
index eaaafa0..95e3f09 100644
--- a/data/weather-widget.ui
+++ b/data/weather-widget.ui
@@ -158,6 +158,7 @@
<object class="GtkStack" id="forecastStack">
<property name="visible">True</property>
<property name="can_focus">False</property>
+ <property name="transition_type">crossfade</property>
<child>
<object class="GtkScrolledWindow" id="forecast-hourly">
<property name="visible">True</property>
diff --git a/data/window.ui b/data/window.ui
index ff9581d..c9380a0 100644
--- a/data/window.ui
+++ b/data/window.ui
@@ -69,6 +69,7 @@
<object class="GtkStack" id="titleStack">
<property name="visible">True</property>
<property name="visible-child-name" bind-source="stack" bind-property="visible-child-name"
bind-flags="bidirectional|sync-create"/>
+ <property name="transition_type">crossfade</property>
<child>
<object class="GtkLabel">
<property name="visible">True</property>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]