[libadwaita/wip/exalm/halign-fixes: 6/10] window-title: Remove unnecessary haligns
- From: Alexander Mikhaylenko <alexm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libadwaita/wip/exalm/halign-fixes: 6/10] window-title: Remove unnecessary haligns
- Date: Sat, 27 Nov 2021 21:31:29 +0000 (UTC)
commit 4e4b0ef3ad6f5cddde6db62bce1852f430363f6c
Author: Alexander Mikhaylenko <alexm gnome org>
Date: Sun Nov 28 01:42:05 2021 +0500
window-title: Remove unnecessary haligns
src/adw-window-title.ui | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
---
diff --git a/src/adw-window-title.ui b/src/adw-window-title.ui
index 1f206806..f653d02b 100644
--- a/src/adw-window-title.ui
+++ b/src/adw-window-title.ui
@@ -5,12 +5,11 @@
<child>
<object class="GtkBox" id="box">
<property name="orientation">vertical</property>
- <property name="halign">center</property>
<property name="valign">center</property>
<child>
<object class="GtkLabel" id="title_label">
<property name="ellipsize">end</property>
- <property name="halign">center</property>
+ <property name="xalign">0.5</property>
<property name="wrap">False</property>
<property name="single-line-mode">True</property>
<property name="width-chars">5</property>
@@ -22,7 +21,7 @@
<child>
<object class="GtkLabel" id="subtitle_label">
<property name="ellipsize">end</property>
- <property name="halign">center</property>
+ <property name="xalign">0.5</property>
<property name="wrap">False</property>
<property name="single-line-mode">True</property>
<property name="visible">False</property>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]