From d81f633d6b592361328a53aa063ed039e07c90d4 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 --- src/torrentadditiondlg.cpp | 2 +- src/torrentadditiondlg.ui | 46 +++++++++++++------------------------- 2 files changed, 16 insertions(+), 32 deletions(-) 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