Summary: | Line-Edit deletion "X" overlays text entered | ||
---|---|---|---|
Product: | [Unmaintained] KDE PIM Mobile | Reporter: | Björn Balazs <kde> |
Component: | general | Assignee: | kdepim bugs <kdepim-bugs> |
Status: | VERIFIED FIXED | ||
Severity: | major | CC: | aheinecke, ludwig.reiter |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Unlisted Binaries | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Björn Balazs
2010-12-13 12:12:46 UTC
*** Bug 253953 has been marked as a duplicate of this bug. *** commit da17bee2a0e3167002793af9525eed592e419d3d branch master Author: Tobias Koenig <tokoe@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 +} /* |