items in groups no longer have any border
svn path=/trunk/KDE/kdelibs/; revision=1177842
This commit is contained in:
parent
8e5a2533b5
commit
b53a6e5b0a
@ -572,7 +572,7 @@ FrameSvg::EnabledBorders Extender::enabledBordersForItem(ExtenderItem *item) con
|
||||
ExtenderItem *topItem = dynamic_cast<ExtenderItem*>(d->layout->itemAt(0));
|
||||
ExtenderItem *bottomItem = dynamic_cast<ExtenderItem*>(d->layout->itemAt(d->layout->count() - 1));
|
||||
if (item->group()) {
|
||||
return FrameSvg::LeftBorder | FrameSvg::RightBorder;
|
||||
return FrameSvg::NoBorder;
|
||||
} else if (d->appearance == TopDownStacked && bottomItem != item) {
|
||||
return FrameSvg::LeftBorder | FrameSvg::BottomBorder | FrameSvg::RightBorder;
|
||||
} else if (d->appearance == BottomUpStacked && topItem != item) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user