Reduced top toolbar spacing

This commit is contained in:
Christophe Dumez
2011-01-10 17:55:27 +00:00
parent 7437bd4265
commit bbd9764f9c
2 changed files with 3 additions and 4 deletions

View File

@@ -2,7 +2,7 @@
- BUGFIX: Really disable torrent addition dialog by default
- BUGFIX: Fix some missing icons in the Web UI
- BUGFIX: Fix magnet torrent name update problem
- COSMETIC: Use 24px size for toolbar icons
- COSMETIC: Use 24px size for toolbar icons and reduce spacing
- COSMETIC: Move transfer list filter on the right side of the toolbar
* Sun Jan 9 2011 - Christophe Dumez <chris@qbittorrent.org> - v2.6.0

View File

@@ -84,7 +84,7 @@ void qt_mac_set_dock_menu(QMenu *menu);
using namespace libtorrent;
#define TIME_TRAY_BALLOON 5000
#define TOOLBAR_SPACING 10
#define TOOLBAR_SPACING 0
/*****************************************************
* *
@@ -175,8 +175,7 @@ MainWindow::MainWindow(QWidget *parent, QStringList torrentCmdLine) : QMainWindo
// Name filter
search_filter = new LineEdit();
connect(search_filter, SIGNAL(textChanged(QString)), transferList, SLOT(applyNameFilter(QString)));
QAction *searchSeparatorAct = toolBar->insertSeparator(actionLock_qBittorrent);
QAction *searchFilterAct = toolBar->insertWidget(searchSeparatorAct, search_filter);
QAction *searchFilterAct = toolBar->insertWidget(actionLock_qBittorrent, search_filter);
search_filter->setFixedWidth(200);
QWidget *spacer = new QWidget(this);
spacer->setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Fixed);