Revision 770423

Go back to digest for 10th February 2008

Other in KDE Base

Marco Martin committed changes in /trunk/KDE/kdebase/workspace:

Sets on Applet::constraintsUpdated() the maximum content width for horizontal panels and the maximum content height for vertical panels as IconSize(KIconLoader::Panel) this makes vertical larger panels actually usable.

Some notes:
- it works only for applets that aren't forced to square
- in horizontal panels only for applets that don't have expandingDirections()=Qt::Horizontal
- in vertical panels only for applets that don't have expandingDirections()=Qt::Vertical

On other news the kickoff applets are modified to use this new feature

File Changes

Modified 5 files
  • /trunk/KDE/kdebase/workspace
  •   /libs/plasma/applet.cpp
  •   /plasma/applets/kickoff/applet/applet.cpp
  •   /plasma/applets/kickoff/applet/applet.h
  •   /plasma/applets/kickoff/simpleapplet/simpleapplet.cpp
  •   /plasma/applets/kickoff/simpleapplet/simpleapplet.h
5 files changed in total