[Bug 259709] Line-Edit deletion "X" overlays text entered

Tobias Koenig tokoe at kde.org
Fri Jan 7 12:37:57 GMT 2011


https://bugs.kde.org/show_bug.cgi?id=259709


Tobias Koenig <tokoe at kde.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED




--- Comment #2 from Tobias Koenig <tokoe kde org>  2011-01-07 13:37:57 ---
commit da17bee2a0e3167002793af9525eed592e419d3d
branch master
Author: Tobias Koenig <tokoe at kde.org>
Date:   Fri Jan 7 13:37:54 2011 +0100

    Use right padding size for KLineEdit's clear button

    Since the mobile apps use a stylesheet, KLineEditStyle won't be
    used anymore by KLineEdits inside the mobile apps. This breaks the
    adapted KLineEditStyle::subElementRect, that substracts the clear button
    width from the contents rect width. We hard-code it in the stylesheet now.

    BUG: 259709

diff --git a/mobile/lib/stylesheet.css.cmake b/mobile/lib/stylesheet.css.cmake
index def1a32..f17a013 100644
--- a/mobile/lib/stylesheet.css.cmake
+++ b/mobile/lib/stylesheet.css.cmake
@@ -83,6 +83,16 @@ QSpinBox
   padding: 4px;
 }

+KLineEdit
+{
+  background-color: white;
+  border: 2px;
+  border-color: grey;
+  border-radius: 8px;
+  border-style: inset;
+  padding: 4px;
+  padding-right: 48px
+}


 /*

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the Kdepim-bugs mailing list