mirror of
https://invent.kde.org/network/falkon.git
synced 2024-12-24 12:46:35 +01:00
Margins of location & search bars
This commit is contained in:
parent
44b89d8460
commit
ea2d57a5e2
@ -95,8 +95,8 @@ LocationBar::LocationBar(QupZilla* mainClass, QWidget *parent)
|
|||||||
connect(m_rssIcon, SIGNAL(clicked(QPoint)), this, SLOT(rssIconClicked()));
|
connect(m_rssIcon, SIGNAL(clicked(QPoint)), this, SLOT(rssIconClicked()));
|
||||||
|
|
||||||
setStyleSheet("QLineEdit { background: transparent; border-image: url(:/icons/locationbar/lineedit.png); border-width:4; color:black;}");
|
setStyleSheet("QLineEdit { background: transparent; border-image: url(:/icons/locationbar/lineedit.png); border-width:4; color:black;}");
|
||||||
// setLeftMargin(33);
|
setLeftMargin(33);
|
||||||
setLeftMargin(m_siteIcon->sizeHint().width()+1);
|
// setLeftMargin(m_siteIcon->sizeHint().width()+1);
|
||||||
}
|
}
|
||||||
|
|
||||||
void LocationBar::loadSettings()
|
void LocationBar::loadSettings()
|
||||||
|
@ -50,7 +50,7 @@ WebSearchBar::WebSearchBar(QupZilla* mainClass, QWidget *parent)
|
|||||||
|
|
||||||
setStyleSheet("QLineEdit { background: transparent; border-image: url(:/icons/locationbar/lineedit.png) ;border-width:4;color:black;}");
|
setStyleSheet("QLineEdit { background: transparent; border-image: url(:/icons/locationbar/lineedit.png) ;border-width:4;color:black;}");
|
||||||
|
|
||||||
setLeftMargin(30);
|
setLeftMargin(33);
|
||||||
setWidgetSpacing(0);
|
setWidgetSpacing(0);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user