Summary: | Configure dialog size bigger than most laptop resolutions | ||
---|---|---|---|
Product: | [Applications] amarok | Reporter: | Andy <dr.diesel> |
Component: | general | Assignee: | Amarok Developers <amarok-bugs-dist> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | emisca, enochlnx |
Priority: | NOR | ||
Version: | 1.4.5 | ||
Target Milestone: | --- | ||
Platform: | Fedora RPMs | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: | Said overly large window |
Description
Andy
2007-02-06 01:48:30 UTC
*** Bug 141858 has been marked as a duplicate of this bug. *** Created attachment 19904 [details]
Said overly large window
1024x768 resolution
SVN commit 645294 by markey: Make the settings dialog less tall. It's an evil hack - we simple resize it 70px less tall before showing. I hope it has no side effects (e.g. truncated content with big fonts), but I can't figure out a proper fix. BUG: 141250 M +3 -1 Options1.ui M +4 -1 Options8.ui M +5 -0 configdialog.cpp --- branches/stable/extragear/multimedia/amarok/src/Options1.ui #645293:645294 @@ -9,7 +9,7 @@ <x>0</x> <y>0</y> <width>425</width> - <height>686</height> + <height>540</height> </rect> </property> <property name="sizePolicy"> @@ -650,6 +650,8 @@ </spacer> </vbox> </widget> +<customwidgets> +</customwidgets> <connections> <connection> <sender>kcfg_ShowTrayIcon</sender> --- branches/stable/extragear/multimedia/amarok/src/Options8.ui #645293:645294 @@ -9,7 +9,7 @@ <x>0</x> <y>0</y> <width>425</width> - <height>557</height> + <height>418</height> </rect> </property> <property name="minimumSize"> @@ -293,6 +293,9 @@ <layoutdefaults spacing="6" margin="11"/> <includehints> <includehint>kactivelabel.h</includehint> + <includehint>kactivelabel.h</includehint> <includehint>klineedit.h</includehint> + <includehint>klineedit.h</includehint> + <includehint>kactivelabel.h</includehint> </includehints> </UI> --- branches/stable/extragear/multimedia/amarok/src/configdialog.cpp #645293:645294 @@ -206,6 +206,11 @@ connect( m_opt7->dbSetupFrame->databaseEngine, SIGNAL( activated( int ) ), SLOT( updateButtons() ) ); connect( m_opt1->kComboBox_browser, SIGNAL( activated( int ) ), SLOT( updateButtons() ) ); connect( m_opt1->kLineEdit_customBrowser, SIGNAL( textChanged( const QString& ) ), SLOT( updateButtons() ) ); + + //HACK The dialog always comes up too tall.. is there a proper fix? + QSize size = minimumSizeHint(); + size.setHeight( size.height() - 70 ); + resize( size ); } AmarokConfigDialog::~AmarokConfigDialog() *** Bug 143466 has been marked as a duplicate of this bug. *** |