Fix [#21694] text input box last character not editable
authorMatt Ebb <matt@mke3.net>
Fri, 2 Apr 2010 11:15:37 +0000 (11:15 +0000)
committerMatt Ebb <matt@mke3.net>
Fri, 2 Apr 2010 11:15:37 +0000 (11:15 +0000)
commit5d155868fbb6ffd40f01d47d1867dc482282da21
treef44287117ea825134b7028aba3380d93f226a36d
parentd03d42fe72b1326d575dd0e1a0402501a358a836
Fix [#21694] text input box last character not editable

Font kerning needs to be set in order to get accurate results out of BLF_width().
Would be nice if this was more automatic, I've added it to a few other places that
seem like they need this though it's a little unclear due to the globals etc. Also
some other minor tweaks when editing text fields.
source/blender/editors/interface/interface_handlers.c
source/blender/editors/interface/interface_style.c
source/blender/editors/interface/interface_widgets.c