mirror of
https://invent.kde.org/network/falkon.git
synced 2024-12-21 03:06:34 +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:
parent
6e5993e8d5
commit
e2adc2b5d0
@ -27,6 +27,7 @@
|
|||||||
{
|
{
|
||||||
qproperty-themeIcon: "go-previous";
|
qproperty-themeIcon: "go-previous";
|
||||||
qproperty-fallbackIcon: url(images/go-previous.png);
|
qproperty-fallbackIcon: url(images/go-previous.png);
|
||||||
|
qproperty-fixedsize: 32px 32px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#navigation-button-back::menu-indicator
|
#navigation-button-back::menu-indicator
|
||||||
@ -38,6 +39,7 @@
|
|||||||
{
|
{
|
||||||
qproperty-themeIcon: "go-next";
|
qproperty-themeIcon: "go-next";
|
||||||
qproperty-fallbackIcon: url(images/go-next.png);
|
qproperty-fallbackIcon: url(images/go-next.png);
|
||||||
|
qproperty-fixedsize: 32px 32px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#navigation-button-next::menu-indicator
|
#navigation-button-next::menu-indicator
|
||||||
@ -49,30 +51,35 @@
|
|||||||
{
|
{
|
||||||
qproperty-themeIcon: "process-stop";
|
qproperty-themeIcon: "process-stop";
|
||||||
qproperty-fallbackIcon: url(images/process-stop.png);
|
qproperty-fallbackIcon: url(images/process-stop.png);
|
||||||
|
qproperty-fixedsize: 32px 32px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#navigation-button-reload
|
#navigation-button-reload
|
||||||
{
|
{
|
||||||
qproperty-themeIcon: "view-refresh";
|
qproperty-themeIcon: "view-refresh";
|
||||||
qproperty-fallbackIcon: url(images/view-refresh.png);
|
qproperty-fallbackIcon: url(images/view-refresh.png);
|
||||||
|
qproperty-fixedsize: 32px 32px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#navigation-button-home
|
#navigation-button-home
|
||||||
{
|
{
|
||||||
qproperty-themeIcon: "go-home";
|
qproperty-themeIcon: "go-home";
|
||||||
qproperty-fallbackIcon: url(images/go-home.png);
|
qproperty-fallbackIcon: url(images/go-home.png);
|
||||||
|
qproperty-fixedsize: 32px 32px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#navigation-button-addtab
|
#navigation-button-addtab
|
||||||
{
|
{
|
||||||
qproperty-themeIcon: "list-add";
|
qproperty-themeIcon: "list-add";
|
||||||
qproperty-fallbackIcon: url(images/list-add.png);
|
qproperty-fallbackIcon: url(images/list-add.png);
|
||||||
|
qproperty-fixedsize: 32px 32px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#navigation-button-supermenu
|
#navigation-button-supermenu
|
||||||
{
|
{
|
||||||
qproperty-themeIcon: "preferences-desktop";
|
qproperty-themeIcon: "preferences-desktop";
|
||||||
qproperty-fallbackIcon: url(images/preferences-desktop.png);
|
qproperty-fallbackIcon: url(images/preferences-desktop.png);
|
||||||
|
qproperty-fixedsize: 32px 32px;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*TabWidget*/
|
/*TabWidget*/
|
||||||
|
@ -64,6 +64,7 @@ NavigationBar::NavigationBar(QupZilla* mainClass, QWidget* parent)
|
|||||||
m_buttonNext->setEnabled(false);
|
m_buttonNext->setEnabled(false);
|
||||||
|
|
||||||
QHBoxLayout* backNextLayout = new QHBoxLayout();
|
QHBoxLayout* backNextLayout = new QHBoxLayout();
|
||||||
|
backNextLayout->setContentsMargins(0, 0, 0, 0);
|
||||||
backNextLayout->setSpacing(0);
|
backNextLayout->setSpacing(0);
|
||||||
backNextLayout->addWidget(m_buttonBack);
|
backNextLayout->addWidget(m_buttonBack);
|
||||||
backNextLayout->addWidget(m_buttonNext);
|
backNextLayout->addWidget(m_buttonNext);
|
||||||
|
Loading…
Reference in New Issue
Block a user