mirror of
https://github.com/linuxdeepin/dde-dock.git
synced 2025-06-02 15:45:21 +00:00
fix: layout parent
one widget should only have one layout, others should not mark parent as this Log: fix layout parent
This commit is contained in:
parent
53e68b9435
commit
cf14d9879f
@ -58,14 +58,14 @@ MainPanelControl::MainPanelControl(DockInter *dockInter, QWidget *parent)
|
||||
: QWidget(parent)
|
||||
, m_mainPanelLayout(new QBoxLayout(QBoxLayout::LeftToRight, this))
|
||||
, m_fixedAreaWidget(new QWidget(this))
|
||||
, m_fixedAreaLayout(new QBoxLayout(QBoxLayout::LeftToRight, this))
|
||||
, m_fixedAreaLayout(new QBoxLayout(QBoxLayout::LeftToRight))
|
||||
, m_fixedSpliter(new QLabel(this))
|
||||
, m_appAreaWidget(new QWidget(this))
|
||||
, m_appAreaSonWidget(new QWidget(this))
|
||||
, m_appAreaSonLayout(new QBoxLayout(QBoxLayout::LeftToRight, this))
|
||||
, m_appAreaSonLayout(new QBoxLayout(QBoxLayout::LeftToRight))
|
||||
, m_appSpliter(new QLabel(this))
|
||||
, m_recentAreaWidget(new QWidget(this))
|
||||
, m_recentLayout(new QBoxLayout(QBoxLayout::LeftToRight, this))
|
||||
, m_recentLayout(new QBoxLayout(QBoxLayout::LeftToRight))
|
||||
, m_recentSpliter(new QLabel(this))
|
||||
, m_toolAreaWidget(new QWidget(this))
|
||||
, m_toolAreaLayout(new QBoxLayout(QBoxLayout::LeftToRight, m_toolAreaWidget))
|
||||
|
Loading…
x
Reference in New Issue
Block a user