mirror of
https://bitbucket.org/smil3y/kdelibs.git
synced 2025-02-23 10:22:48 +00:00
plasma: do not add stretches around the Plasma::TabBar proxy
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
parent
9222bc71e1
commit
b1b83d3afd
1 changed files with 0 additions and 3 deletions
|
@ -242,10 +242,7 @@ TabBar::TabBar(QGraphicsWidget *parent)
|
|||
d->tabWidgetLayout->addItem(d->tabBarLayout);
|
||||
d->tabWidgetLayout->addItem(d->emptyTabBarSpacer);
|
||||
|
||||
//tabBar is centered, so a stretch at begin one at the end
|
||||
d->tabBarLayout->addStretch();
|
||||
d->tabBarLayout->addItem(d->tabProxy);
|
||||
d->tabBarLayout->addStretch();
|
||||
d->tabBarLayout->setContentsMargins(0,0,0,0);
|
||||
//d->tabBarLayout->setStretchFactor(d->tabProxy, 2);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue