mirror of
https://invent.kde.org/network/falkon.git
synced 2024-11-11 09:32:12 +01:00
[Toolbar] Use spacing and margins according to Qt style.
Toolbar looks better now with Oxygen theme.
This commit is contained in:
parent
1b5b930bd1
commit
6492b2ac87
|
@ -67,6 +67,9 @@ NavigationBar::NavigationBar(QupZilla* mainClass)
|
|||
m_layout = new QHBoxLayout(this);
|
||||
m_layout->setMargin(3);
|
||||
m_layout->setSpacing(3);
|
||||
|
||||
m_layout->setMargin(style()->pixelMetric(QStyle::PM_ToolBarItemMargin, 0, this));
|
||||
m_layout->setSpacing(style()->pixelMetric(QStyle::PM_ToolBarItemSpacing, 0, this));
|
||||
setLayout(m_layout);
|
||||
|
||||
m_buttonBack = new ToolButton(this);
|
||||
|
|
Loading…
Reference in New Issue
Block a user