reftests: Add label-sizing test

Checks that the size requests for labels are as they should be for
required and natural size given various combinations of wrap, ellipsize,
width-chars and max-width-chars.

See
http://mail.gnome.org/archives/gtk-devel-list/2011-April/msg00036.html
for the discussion spawning this test.
This commit is contained in:
Benjamin Otte 2011-04-17 19:56:52 +02:00
parent 363dbb6039
commit 9229b3216a
4 changed files with 24420 additions and 0 deletions

View File

@ -25,5 +25,8 @@ clean-local:
rm -rf output/ || true
EXTRA_DIST += \
label-sizing.css \
label-sizing.ref.ui \
label-sizing.ui \
simpe.ref.png \
simple.ui

View File

@ -0,0 +1,7 @@
* {
font: Monospace 12
}
GtkPaned GtkEventBox {
background-color: pink
}

File diff suppressed because it is too large Load Diff

12498
tests/reftests/label-sizing.ui Normal file

File diff suppressed because it is too large Load Diff