summaryrefslogtreecommitdiffstats
path: root/chart2/source/tools/Scaling.cxx
diff options
context:
space:
mode:
authorJustin Luth <justin_luth@sil.org>2022-01-26 13:32:15 +0200
committerJustin Luth <jluth@mail.com>2022-01-29 10:42:45 +0100
commit2334561bf15ec9b061636919efbd0e2a7b89e29b (patch)
tree1280c5a753c82e3f8e0087b877442e5f2df272e2 /chart2/source/tools/Scaling.cxx
parentfix loading file with very large number of styles (diff)
downloadcore-2334561bf15ec9b061636919efbd0e2a7b89e29b.tar.gz
core-2334561bf15ec9b061636919efbd0e2a7b89e29b.zip
svx textcharacterspacingcontrol: allow smaller kerning
On of the options in the kerning list is "very tight" which sets a -3 pt kerning. However, the custom spin button only allows down to -2 pt. Certainly we need to allow the user to adjust as much as the other options allow, and it only makes sense to allow as much negative kerning as positive kerning. Additionally, this field is supposed to show the REAL current value - which it can't do if the range of values is too limited. Finally, we can't pre-focus "very tight" very easily if that spin button cannot match the "very tight" value. [Based on testing, a too-small kerning gets treated as the smallest-possible-kerning and doesn't cause real problems.] In terms of positive kerning, the real maximum pt value seems to be 1638 before the denormalized version of it hits the sal_Int16 maximum and then starts wrapping over into minimum values. Change-Id: I465fcd0bbf3ca310b203004b46632a9a1ee01a6f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/128984 Tested-by: Jenkins Reviewed-by: Justin Luth <jluth@mail.com>
Diffstat (limited to 'chart2/source/tools/Scaling.cxx')
0 files changed, 0 insertions, 0 deletions