[gtk/kill-popup-windows: 8/13] reftests: Fix nth-child reftest
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/kill-popup-windows: 8/13] reftests: Fix nth-child reftest
- Date: Thu, 9 Jan 2020 04:00:35 +0000 (UTC)
commit 1310599d04a690e6f46821b37742c277b1d029eb
Author: Matthias Clasen <mclasen redhat com>
Date: Wed Jan 8 20:49:48 2020 -0500
reftests: Fix nth-child reftest
This gets broken by different handling of extra space
between grid and box, which is not the point of the test.
Fix this by centering both.
testsuite/reftests/nth-child.ref.ui | 1 +
testsuite/reftests/nth-child.ui | 1 +
2 files changed, 2 insertions(+)
---
diff --git a/testsuite/reftests/nth-child.ref.ui b/testsuite/reftests/nth-child.ref.ui
index d314db405d..9919845c0b 100644
--- a/testsuite/reftests/nth-child.ref.ui
+++ b/testsuite/reftests/nth-child.ref.ui
@@ -3,6 +3,7 @@
<object class="GtkWindow" id="window1">
<child>
<object class="GtkGrid" id="grid1">
+ <property name="halign">center</property>
<property name="orientation">vertical</property>
<child>
<object class="GtkLabel" id="label1">
diff --git a/testsuite/reftests/nth-child.ui b/testsuite/reftests/nth-child.ui
index ff7e106dbe..0339602920 100644
--- a/testsuite/reftests/nth-child.ui
+++ b/testsuite/reftests/nth-child.ui
@@ -3,6 +3,7 @@
<object class="GtkWindow" id="window1">
<child>
<object class="GtkBox" id="box1">
+ <property name="halign">center</property>
<property name="orientation">vertical</property>
<child>
<object class="GtkLabel" id="label1">
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]