svx/uiconfig/ui/textcharacterspacingcontrol.ui |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 2334561bf15ec9b061636919efbd0e2a7b89e29b
Author:     Justin Luth <justin_l...@sil.org>
AuthorDate: Wed Jan 26 13:32:15 2022 +0200
Commit:     Justin Luth <jl...@mail.com>
CommitDate: Sat Jan 29 10:42:45 2022 +0100

    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 <jl...@mail.com>

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>

Reply via email to