forked from AuroraMiddleware/gtk
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:
parent
363dbb6039
commit
9229b3216a
@ -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
|
||||
|
7
tests/reftests/label-sizing.css
Normal file
7
tests/reftests/label-sizing.css
Normal file
@ -0,0 +1,7 @@
|
||||
* {
|
||||
font: Monospace 12
|
||||
}
|
||||
|
||||
GtkPaned GtkEventBox {
|
||||
background-color: pink
|
||||
}
|
11912
tests/reftests/label-sizing.ref.ui
Normal file
11912
tests/reftests/label-sizing.ref.ui
Normal file
File diff suppressed because it is too large
Load Diff
12498
tests/reftests/label-sizing.ui
Normal file
12498
tests/reftests/label-sizing.ui
Normal file
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user