1
mirror of https://invent.kde.org/network/falkon.git synced 2024-12-20 10:46:35 +01:00

Using bigger buttons in navigation bar when using only icons.

- it makes buttons bigger in Linux and Old Default themes
This commit is contained in:
nowrep 2011-12-18 13:15:56 +01:00
parent 6e5993e8d5
commit e2adc2b5d0
2 changed files with 8 additions and 0 deletions

View File

@ -27,6 +27,7 @@
{
qproperty-themeIcon: "go-previous";
qproperty-fallbackIcon: url(images/go-previous.png);
qproperty-fixedsize: 32px 32px;
}
#navigation-button-back::menu-indicator
@ -38,6 +39,7 @@
{
qproperty-themeIcon: "go-next";
qproperty-fallbackIcon: url(images/go-next.png);
qproperty-fixedsize: 32px 32px;
}
#navigation-button-next::menu-indicator
@ -49,30 +51,35 @@
{
qproperty-themeIcon: "process-stop";
qproperty-fallbackIcon: url(images/process-stop.png);
qproperty-fixedsize: 32px 32px;
}
#navigation-button-reload
{
qproperty-themeIcon: "view-refresh";
qproperty-fallbackIcon: url(images/view-refresh.png);
qproperty-fixedsize: 32px 32px;
}
#navigation-button-home
{
qproperty-themeIcon: "go-home";
qproperty-fallbackIcon: url(images/go-home.png);
qproperty-fixedsize: 32px 32px;
}
#navigation-button-addtab
{
qproperty-themeIcon: "list-add";
qproperty-fallbackIcon: url(images/list-add.png);
qproperty-fixedsize: 32px 32px;
}
#navigation-button-supermenu
{
qproperty-themeIcon: "preferences-desktop";
qproperty-fallbackIcon: url(images/preferences-desktop.png);
qproperty-fixedsize: 32px 32px;
}
/*TabWidget*/

View File

@ -64,6 +64,7 @@ NavigationBar::NavigationBar(QupZilla* mainClass, QWidget* parent)
m_buttonNext->setEnabled(false);
QHBoxLayout* backNextLayout = new QHBoxLayout();
backNextLayout->setContentsMargins(0, 0, 0, 0);
backNextLayout->setSpacing(0);
backNextLayout->addWidget(m_buttonBack);
backNextLayout->addWidget(m_buttonNext);