[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-bugs-dist
Subject: [Bug 176473] New: [PATCH] fix KDialog to use platform native layout
From: Christoph Feck <christoph.feck () mathe-kapiert ! de>
Date: 2008-11-29 17:33:04
Message-ID: bug-176473-17878 () http ! bugs ! kde ! org/
[Download RAW message or body]
http://bugs.kde.org/show_bug.cgi?id=176473
Summary: [PATCH] fix KDialog to use platform native layout
spacing and margins
Product: kdelibs
Version: 4.1
Platform: Compiled Sources
OS/Version: unspecified
Status: NEW
Severity: normal
Priority: NOR
Component: kdeui
AssignedTo: kdelibs-bugs@kde.org
ReportedBy: christoph.feck@mathe-kapiert.de
Version: (using Devel)
Installed from: Compiled sources
KDialog used to have fixed values for spacing and margins. This patch makes it
use the style's values, resulting in platform native spacing and margins (which
can be different depending on widget pairs, see
QStyle::layoutSpacingImplementation() ).
Applications should not use marginHint(), spacingHint(), resizeLayout(), and
updateGeometry() if possible. These should be deprecated.
For compatibility, the marginHint() and spacingHint() values can still be
queried, and they are now delegated to the style. KStyle returns the same
default values as old KDialog, so no behaviour change. resizeLayout() and
updateGeometry is unchanged for compatibility.
Styles can reimplement QStyle::layoutSpacingImplementation() and
QStyle::PM_Layout*Margin to override defaults.
--
Configure bugmail: http://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic