- Use margin at startPos

- Delete white space from line ends

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=718076
This commit is contained in:
Petri Damstén 2007-09-28 05:43:15 +00:00
parent 8f4ed43ae0
commit c4f4f16048

View File

@ -86,11 +86,11 @@ public:
switch ( direction ) {
case LeftToRight:
case TopToBottom:
return 0;
return q->margin();
case RightToLeft:
return geometry.width();
return geometry.width() - q->margin();
case BottomToTop:
return geometry.height();
return geometry.height() - q->margin();
default:
Q_ASSERT(false);
return 0;