1
mirror of https://invent.kde.org/network/falkon.git synced 2024-11-11 01:22:10 +01:00

Margins of location & search bars

This commit is contained in:
nowrep 2011-03-05 11:16:23 +01:00
parent 44b89d8460
commit ea2d57a5e2
2 changed files with 3 additions and 3 deletions

View File

@ -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()

View File

@ -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);
} }