[libadwaita/wip/exalm/tab-style: 2/5] tab: Place indicator above the label
- From: Alexander Mikhaylenko <alexm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libadwaita/wip/exalm/tab-style: 2/5] tab: Place indicator above the label
- Date: Wed, 6 Apr 2022 13:46:54 +0000 (UTC)
commit 4e9b2700d91b5766087e42fc678da5970ab66acd
Author: Alexander Mikhaylenko <alexm gnome org>
Date: Wed Apr 6 15:11:58 2022 +0400
tab: Place indicator above the label
Fix non-clickable indicators on inverted tabs with long labels.
src/adw-tab.ui | 42 +++++++++++++++++++++---------------------
1 file changed, 21 insertions(+), 21 deletions(-)
---
diff --git a/src/adw-tab.ui b/src/adw-tab.ui
index 8898c6f3..ff16772f 100644
--- a/src/adw-tab.ui
+++ b/src/adw-tab.ui
@@ -14,27 +14,6 @@
<signal name="drop" handler="drop_cb" swapped="true"/>
</object>
</child>
- <child>
- <object class="GtkButton" id="indicator_btn">
- <property name="can-focus">False</property>
- <property name="valign">center</property>
- <signal name="clicked" handler="indicator_clicked_cb" swapped="true"/>
- <style>
- <class name="flat"/>
- <class name="tab-indicator"/>
- <class name="image-button"/>
- </style>
- <property name="child">
- <object class="GtkImage" id="indicator_icon">
- <binding name="gicon">
- <lookup name="indicator-icon" type="AdwTabPage">
- <lookup name="page">AdwTab</lookup>
- </lookup>
- </binding>
- </object>
- </property>
- </object>
- </child>
<child>
<object class="GtkStack" id="icon_stack">
<property name="margin-start">4</property>
@@ -75,6 +54,27 @@
</style>
</object>
</child>
+ <child>
+ <object class="GtkButton" id="indicator_btn">
+ <property name="can-focus">False</property>
+ <property name="valign">center</property>
+ <signal name="clicked" handler="indicator_clicked_cb" swapped="true"/>
+ <style>
+ <class name="flat"/>
+ <class name="tab-indicator"/>
+ <class name="image-button"/>
+ </style>
+ <property name="child">
+ <object class="GtkImage" id="indicator_icon">
+ <binding name="gicon">
+ <lookup name="indicator-icon" type="AdwTabPage">
+ <lookup name="page">AdwTab</lookup>
+ </lookup>
+ </binding>
+ </object>
+ </property>
+ </object>
+ </child>
<child>
<object class="GtkButton" id="close_btn">
<property name="can-focus">False</property>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]