From 599f956269b33a6b1023f6439d91e3e6dedca7a2 Mon Sep 17 00:00:00 2001 From: Christophe Dumez Date: Sun, 16 Oct 2011 10:07:13 +0300 Subject: [PATCH] Torrent addition dialog: Layout fixes (cherry picked from commit d81f633d6b592361328a53aa063ed039e07c90d4) --- Changelog | 1 + src/torrentadditiondlg.cpp | 2 +- src/torrentadditiondlg.ui | 46 +++++++++++++------------------------- 3 files changed, 17 insertions(+), 32 deletions(-) diff --git a/Changelog b/Changelog index 371dbb17c..f44b84964 100644 --- a/Changelog +++ b/Changelog @@ -1,6 +1,7 @@ * Unreleased - Christophe Dumez - v2.9.1 - BUGFIX: Fix ratio calculation for purely seeded torrents - I18N: Update Russian translation + - COSMETIC: Torrent addition dialog layout fixes * Sat Oct 08 2011 - Christophe Dumez - v2.9.0 - FEATURE: Add file association settings to program preferences (Windows) diff --git a/src/torrentadditiondlg.cpp b/src/torrentadditiondlg.cpp index ae6661bbd..3dc8dbad6 100644 --- a/src/torrentadditiondlg.cpp +++ b/src/torrentadditiondlg.cpp @@ -63,7 +63,7 @@ torrentAdditionDialog::torrentAdditionDialog(QWidget *parent) : Preferences pref; setupUi(this); setAttribute(Qt::WA_DeleteOnClose); - setMinimumSize(0, 0); + setMinimumSize(10, 10); // Icons CancelButton->setIcon(IconProvider::instance()->getIcon("dialog-cancel")); OkButton->setIcon(IconProvider::instance()->getIcon("list-add")); diff --git a/src/torrentadditiondlg.ui b/src/torrentadditiondlg.ui index 931b1c09e..50d5cfc08 100644 --- a/src/torrentadditiondlg.ui +++ b/src/torrentadditiondlg.ui @@ -2,14 +2,6 @@ addTorrentDialog - - - 0 - 0 - 560 - 517 - - Torrent addition dialog @@ -32,12 +24,6 @@ - - - 0 - 0 - - Save path: @@ -47,12 +33,6 @@ - - - 0 - 0 - - true @@ -93,12 +73,22 @@ - - - - + + + Qt::Horizontal - + + + 40 + 20 + + + + + + + @@ -148,16 +138,10 @@ - 180 + 150 0 - - - 16777215 - 26 - - true