From e82f430f0282b995d60a90eb6ede854cd2e50739 Mon Sep 17 00:00:00 2001
From: Alexander Golubev <fatzer2@gmail.com>
Date: Thu, 26 Feb 2026 12:05:03 +0300
Subject: Add word wrap to a label

Explicitly enable word wrapping for the label in the config dialog.
Otherwise the line stretched the dialog too wide especially in some
translations.

Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
---
 src/klocateconfiglocatewidget.ui | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/src/klocateconfiglocatewidget.ui b/src/klocateconfiglocatewidget.ui
index e1a6c21..ecb2c59 100644
--- a/src/klocateconfiglocatewidget.ui
+++ b/src/klocateconfiglocatewidget.ui
@@ -9,7 +9,7 @@
             <x>0</x>
             <y>0</y>
             <width>567</width>
-            <height>385</height>
+            <height>400</height>
         </rect>
     </property>
     <property name="caption">
@@ -65,6 +65,9 @@
                     <property name="text">
                         <string>Use these settings only if you really know what you do. Otherwise the default should be ok.</string>
                     </property>
+                    <property name="alignment">
+                        <set>WordBreak|AlignVCenter</set>
+                    </property>
                 </widget>
                 <widget class="TQLayoutWidget">
                     <property name="name">
-- 
cgit v1.2.3

