Summary: | Preference dialog cut off | ||
---|---|---|---|
Product: | [Applications] ktorrent | Reporter: | Thomas McGuire <mcguire> |
Component: | general | Assignee: | Joris Guisson <joris.guisson> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Compiled Sources | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Attachments: | Screenshot which shows the dialog in question |
Description
Thomas McGuire
2005-06-16 00:13:00 UTC
Created attachment 11472 [details]
Screenshot which shows the dialog in question
SVN commit 426050 by guisson: Fixed size issues in configuration dialog. BUG: 107510 M ktorrent.kdevelop.pcs M +14 -1 ktorrent.kdevses M +5 -2 src/pref.cpp --- trunk/extragear/network/ktorrent/ktorrent.kdevses #426049:426050 @@ -1,7 +1,20 @@ <?xml version = '1.0' encoding = 'UTF-8'?> <!DOCTYPE KDevPrjSession> <KDevPrjSession> - <DocsAndViews NumberOfDocuments="0" /> + <DocsAndViews NumberOfDocuments="4" > + <Doc0 NumberOfViews="1" URL="file:///home/joris/Projects/ktorrent/Makefile.am" > + <View0 line="8" Type="Source" /> + </Doc0> + <Doc1 NumberOfViews="1" URL="file:///home/joris/Projects/ktorrent/src/Makefile.am" > + <View0 line="36" Type="Source" /> + </Doc1> + <Doc2 NumberOfViews="1" URL="file:///home/joris/Projects/ktorrent/libtorrent/Makefile.am" > + <View0 line="22" Type="Source" /> + </Doc2> + <Doc3 NumberOfViews="1" URL="file:///home/joris/Projects/ktorrent/src/main.cpp" > + <View0 line="0" Type="Source" /> + </Doc3> + </DocsAndViews> <pluginList> <kdevdebugger> <breakpointList> --- trunk/extragear/network/ktorrent/src/pref.cpp #426049:426050 @@ -48,11 +48,14 @@ // a Treelist dialog.. but there are a number of other // possibilities (including Tab, Swallow, and just Plain) enableButtonSeparator(true); - setInitialSize(QSize(800,300),true); + QFrame *frame = addPage(i18n("Downloads"), i18n("Download Options")); + QVBoxLayout* vbox = new QVBoxLayout(frame); + vbox->setAutoAdd(true); m_page_one = new KTorrentPrefPageOne(frame); connect(this,SIGNAL(applyClicked()),this,SLOT(applyPressed())); connect(this,SIGNAL(okClicked()),this,SLOT(okPressed())); +// setInitialSize(QSize(800,500),false); } void KTorrentPreferences::okPressed() @@ -71,7 +74,7 @@ KTorrentPrefPageOne::KTorrentPrefPageOne(QWidget *parent) : DownloadPref(parent) { - setMinimumSize(400,400); + //setMinimumSize(400,400); max_downloads->setValue(Settings::maxDownloads()); max_conns->setValue(Settings::maxConnections()); |