aboutsummaryrefslogtreecommitdiff
path: root/AppKit/TestData
diff options
context:
space:
mode:
authorGravatar gtm.daemon <gtm.daemon@7dc7ac4e-7543-0410-b95c-c1676fc8e2a3>2011-03-28 19:00:23 +0000
committerGravatar gtm.daemon <gtm.daemon@7dc7ac4e-7543-0410-b95c-c1676fc8e2a3>2011-03-28 19:00:23 +0000
commit09c3d1d4c6cc035acec7578eeb0ba0bae228fcb0 (patch)
tree153f54808206929703e87ec57e6f13abe31702cd /AppKit/TestData
parent49488762da466f2515d55e0547a8e15aa7560ebe (diff)
[Author: sail]
Tweak fade effect for GTMFadeTruncatingTextFieldCell This change tweaks how we fade the beginning of the text in GTMFadeTruncatingTextFieldCell. Previously we would start drawing the string at the desired position. This meant that the first character was not legible because of the fade effect. With this change we now start drawing a few pixels before the desired position. I also fixed a bug in how we draw the background of the cell. Previously we clipped to the text rect before drawing the background. When the text field had a border this meant that we weren't drawing all of the background because the text rect is slightly smaller than the background rect. With this change we now draw the background rect before setting the text rect clip. R=thomasvl,dmaclach APPROVED=dmaclach DELTA=81 (51 added, 2 deleted, 28 changed)
Diffstat (limited to 'AppKit/TestData')
-rw-r--r--AppKit/TestData/GTMFadeTruncatingTextFieldCellTest5.tiffbin2188 -> 2136 bytes
-rw-r--r--AppKit/TestData/GTMFadeTruncatingTextFieldCellTest6.tiffbin2068 -> 2048 bytes
-rw-r--r--AppKit/TestData/GTMFadeTruncatingTextFieldCellTest8.tiffbin0 -> 2896 bytes
3 files changed, 0 insertions, 0 deletions
diff --git a/AppKit/TestData/GTMFadeTruncatingTextFieldCellTest5.tiff b/AppKit/TestData/GTMFadeTruncatingTextFieldCellTest5.tiff
index f360479..4d4635f 100644
--- a/AppKit/TestData/GTMFadeTruncatingTextFieldCellTest5.tiff
+++ b/AppKit/TestData/GTMFadeTruncatingTextFieldCellTest5.tiff
Binary files differ
diff --git a/AppKit/TestData/GTMFadeTruncatingTextFieldCellTest6.tiff b/AppKit/TestData/GTMFadeTruncatingTextFieldCellTest6.tiff
index d704a81..c8b435d 100644
--- a/AppKit/TestData/GTMFadeTruncatingTextFieldCellTest6.tiff
+++ b/AppKit/TestData/GTMFadeTruncatingTextFieldCellTest6.tiff
Binary files differ
diff --git a/AppKit/TestData/GTMFadeTruncatingTextFieldCellTest8.tiff b/AppKit/TestData/GTMFadeTruncatingTextFieldCellTest8.tiff
new file mode 100644
index 0000000..47d70bd
--- /dev/null
+++ b/AppKit/TestData/GTMFadeTruncatingTextFieldCellTest8.tiff
Binary files differ