[libadwaita/libadwaita-1-0] view-switcher: Add vertical box orientation to ViewSwitcherBar examples
- From: Alexander Mikhaylenko <alexm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libadwaita/libadwaita-1-0] view-switcher: Add vertical box orientation to ViewSwitcherBar examples
- Date: Sat, 5 Feb 2022 17:54:49 +0000 (UTC)
commit f67119a6b87b43c993488ad1eda70eda14a9faa5
Author: Jonas Dreßler <verdre v0yd nl>
Date: Thu Jan 27 11:25:21 2022 +0100
view-switcher: Add vertical box orientation to ViewSwitcherBar examples
The view switcher bar should positioned be at the bottom edge, not at
the right edge of the window, so we want to use a vertical-orientation
GtkBox here.
(cherry picked from commit 5defbcbecbb7c800915217b94a5c10a076ddc379)
src/adw-view-switcher-bar.c | 1 +
src/adw-view-switcher-title.c | 1 +
2 files changed, 2 insertions(+)
---
diff --git a/src/adw-view-switcher-bar.c b/src/adw-view-switcher-bar.c
index cced773f..c3f62248 100644
--- a/src/adw-view-switcher-bar.c
+++ b/src/adw-view-switcher-bar.c
@@ -48,6 +48,7 @@
* </child>
* <child>
* <object class="GtkBox">
+ * <property name="orientation">vertical</property>
* <child>
* <object class="AdwViewStack" id="stack"/>
* </child>
diff --git a/src/adw-view-switcher-title.c b/src/adw-view-switcher-title.c
index f62dcc2c..88df0517 100644
--- a/src/adw-view-switcher-title.c
+++ b/src/adw-view-switcher-title.c
@@ -55,6 +55,7 @@
* </child>
* <child>
* <object class="GtkBox">
+ * <property name="orientation">vertical</property>
* <child>
* <object class="AdwViewStack" id="stack"/>
* </child>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]