Update tst_QTextEdit::fullWidthSelection
authorEskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@nokia.com>
Thu, 23 Feb 2012 09:13:41 +0000 (10:13 +0100)
committerQt by Nokia <qt-info@nokia.com>
Thu, 23 Feb 2012 09:28:49 +0000 (10:28 +0100)
Since we would add 1 to the height of script lines in the layout before
and there was no compensation for this in the box font engine, which is
used by this test, the selection rect in the test images was one pixel too
high. Now that the +1 has been removed from the height, the images have to
be updated.

Change-Id: Ic9ea0ace6b61be496846c7f757ae309756cd9f5f
Reviewed-by: Bradley T. Hughes <bradley.hughes@nokia.com>
tests/auto/widgets/widgets/qtextedit/fullWidthSelection/centered-fully-selected.png
tests/auto/widgets/widgets/qtextedit/fullWidthSelection/centered-partly-selected.png
tests/auto/widgets/widgets/qtextedit/fullWidthSelection/last-char-on-line.png
tests/auto/widgets/widgets/qtextedit/fullWidthSelection/last-char-on-parag.png
tests/auto/widgets/widgets/qtextedit/fullWidthSelection/multiple-full-width-lines.png
tests/auto/widgets/widgets/qtextedit/fullWidthSelection/nowrap_long.png
tests/auto/widgets/widgets/qtextedit/fullWidthSelection/single-full-width-line.png

index ced6eb6..b9df19e 100644 (file)
Binary files a/tests/auto/widgets/widgets/qtextedit/fullWidthSelection/centered-fully-selected.png and b/tests/auto/widgets/widgets/qtextedit/fullWidthSelection/centered-fully-selected.png differ
index 481b99c..792593f 100644 (file)
Binary files a/tests/auto/widgets/widgets/qtextedit/fullWidthSelection/centered-partly-selected.png and b/tests/auto/widgets/widgets/qtextedit/fullWidthSelection/centered-partly-selected.png differ
index 292d3f9..02e5e93 100644 (file)
Binary files a/tests/auto/widgets/widgets/qtextedit/fullWidthSelection/last-char-on-line.png and b/tests/auto/widgets/widgets/qtextedit/fullWidthSelection/last-char-on-line.png differ
index 69b72ed..5ef32d2 100644 (file)
Binary files a/tests/auto/widgets/widgets/qtextedit/fullWidthSelection/last-char-on-parag.png and b/tests/auto/widgets/widgets/qtextedit/fullWidthSelection/last-char-on-parag.png differ
index 467b91e..d877e1b 100644 (file)
Binary files a/tests/auto/widgets/widgets/qtextedit/fullWidthSelection/multiple-full-width-lines.png and b/tests/auto/widgets/widgets/qtextedit/fullWidthSelection/multiple-full-width-lines.png differ
index cce921b..411c085 100644 (file)
Binary files a/tests/auto/widgets/widgets/qtextedit/fullWidthSelection/nowrap_long.png and b/tests/auto/widgets/widgets/qtextedit/fullWidthSelection/nowrap_long.png differ
index 937494a..55d060a 100644 (file)
Binary files a/tests/auto/widgets/widgets/qtextedit/fullWidthSelection/single-full-width-line.png and b/tests/auto/widgets/widgets/qtextedit/fullWidthSelection/single-full-width-line.png differ