- 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:
parent
8f4ed43ae0
commit
c4f4f16048
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user