From 0eb62c1629ce6921b261fd8933f6056f97c24289 Mon Sep 17 00:00:00 2001 From: Benjamin Otte Date: Thu, 22 May 2014 22:34:17 +0200 Subject: [PATCH] reftests: Fix icon-vfuncs reftest The reftest broke when font size lead to labels > 16px. --- testsuite/reftests/icon-vfuncs.css | 4 +++- testsuite/reftests/icon-vfuncs.ref.ui | 10 ++++++++++ testsuite/reftests/icon-vfuncs.ui | 2 ++ 3 files changed, 15 insertions(+), 1 deletion(-) diff --git a/testsuite/reftests/icon-vfuncs.css b/testsuite/reftests/icon-vfuncs.css index 833ee0da06..aab3db4afb 100644 --- a/testsuite/reftests/icon-vfuncs.css +++ b/testsuite/reftests/icon-vfuncs.css @@ -4,9 +4,11 @@ -gtk-icon-source: url("green-20x20.png"); -GtkCheckButton-indicator-size: 16; -GtkCheckButton-indicator-spacing: 0; - -GtkArrow-arrow-scaling: 1.0666666666666666666667; + -GtkArrow-arrow-scaling: 1.0; + /*666666666666666666667;*/ -GtkExpander-expander-spacing: 0; -GtkExpander-expander-size: 16; + font-size: 20px; } GtkImage { diff --git a/testsuite/reftests/icon-vfuncs.ref.ui b/testsuite/reftests/icon-vfuncs.ref.ui index 53179e9451..ccb08c6a97 100644 --- a/testsuite/reftests/icon-vfuncs.ref.ui +++ b/testsuite/reftests/icon-vfuncs.ref.ui @@ -67,6 +67,8 @@ 16 16 + center + center True False @@ -79,6 +81,8 @@ 16 16 + center + center True False @@ -91,6 +95,8 @@ 16 16 + center + center True False @@ -103,6 +109,8 @@ 16 16 + center + center True False @@ -115,6 +123,8 @@ 16 16 + center + start True False diff --git a/testsuite/reftests/icon-vfuncs.ui b/testsuite/reftests/icon-vfuncs.ui index 4ccddeb4a9..52d71bfc46 100644 --- a/testsuite/reftests/icon-vfuncs.ui +++ b/testsuite/reftests/icon-vfuncs.ui @@ -106,6 +106,8 @@ False 16 16 + center + center 1