diff options
author | Justin Luth <justin_luth@sil.org> | 2022-01-26 13:32:15 +0200 |
---|---|---|
committer | Justin Luth <jluth@mail.com> | 2022-01-29 10:42:45 +0100 |
commit | 2334561bf15ec9b061636919efbd0e2a7b89e29b (patch) | |
tree | 1280c5a753c82e3f8e0087b877442e5f2df272e2 /svx/uiconfig/ui/textcharacterspacingcontrol.ui | |
parent | 7f3682ecb8a40fe85b6525be9e73d49d76bb308b (diff) |
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 'svx/uiconfig/ui/textcharacterspacingcontrol.ui')
-rw-r--r-- | svx/uiconfig/ui/textcharacterspacingcontrol.ui | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/svx/uiconfig/ui/textcharacterspacingcontrol.ui b/svx/uiconfig/ui/textcharacterspacingcontrol.ui index ae6a9271366e..8f2bde9502ce 100644 --- a/svx/uiconfig/ui/textcharacterspacingcontrol.ui +++ b/svx/uiconfig/ui/textcharacterspacingcontrol.ui @@ -3,8 +3,8 @@ <interface domain="svx"> <requires lib="gtk+" version="3.20"/> <object class="GtkAdjustment" id="adjustment1"> - <property name="lower">-2</property> - <property name="upper">10000</property> + <property name="lower">-1638</property> + <property name="upper">1638</property> <property name="step-increment">0.10</property> <property name="page-increment">1</property> </object> |