SVN commit 765863 by mart: changing expandingDirections() to behave better in vertical panels M +5 -1 devicenotifier/devicenotifier.cpp M +5 -1 digital-clock/clock.cpp --- trunk/KDE/kdebase/workspace/plasma/applets/devicenotifier/devicenotifier.cpp #765862:765863 @@ -184,7 +184,11 @@ Qt::Orientations DeviceNotifier::expandingDirections() const { - return Qt::Vertical; + if (formFactor() == Plasma::Horizontal) { + return Qt::Vertical; + } else { + return Qt::Horizontal; + } } QSizeF DeviceNotifier::contentSizeHint() const --- trunk/KDE/kdebase/workspace/plasma/applets/digital-clock/clock.cpp #765862:765863 @@ -92,7 +92,11 @@ Qt::Orientations Clock::expandingDirections() const { - return Qt::Vertical; + if (formFactor() == Plasma::Horizontal) { + return Qt::Vertical; + } else { + return Qt::Horizontal; + } }