[text] Fix cursor sizing
authorEmmanuele Bassi <ebassi@linux.intel.com>
Wed, 7 Jan 2009 11:44:54 +0000 (11:44 +0000)
committerEmmanuele Bassi <ebassi@linux.intel.com>
Wed, 7 Jan 2009 11:44:54 +0000 (11:44 +0000)
commit328534fc95746ddd38d591efa471db142d1793c4
treed1a3de9672e3dccea98263504bc2a227df54cb8e
parentf3142a70dc8e62127a22edf2ff6a8d01aac86329
[text] Fix cursor sizing

The cursor should be slightly smaller than the height of the actor, to
allow for painting a border. Let's pad it by 1 pixel on the top and 1
on the bottom.

Also, we should use the cursor size everywhere and not use hardcoded
magic numbers.
clutter/clutter-text.c