summaryrefslogtreecommitdiff
authordrw <drw>2005-04-03 17:21:58 (UTC)
committer drw <drw>2005-04-03 17:21:58 (UTC)
commitbe7d04d2b402e5515cfac3a2b32ed5831e15340b (patch) (side-by-side diff)
treeed5829eb8cd46c222fc9e201c5a08a28fca23c87
parent5929a5467aacf1b95a570bdb560d03b28d9ae679 (diff)
downloadopie-be7d04d2b402e5515cfac3a2b32ed5831e15340b.zip
opie-be7d04d2b402e5515cfac3a2b32ed5831e15340b.tar.gz
opie-be7d04d2b402e5515cfac3a2b32ed5831e15340b.tar.bz2
Fix buttons so images scale correctly
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--libopie2/opieui/fileselector/ofileselector.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/libopie2/opieui/fileselector/ofileselector.cpp b/libopie2/opieui/fileselector/ofileselector.cpp
index 069b625..8b53038 100644
--- a/libopie2/opieui/fileselector/ofileselector.cpp
+++ b/libopie2/opieui/fileselector/ofileselector.cpp
@@ -338,2 +338,3 @@ OFileViewFileListView::OFileViewFileListView( QWidget* parent, const QString& st
QToolButton *btn = new QToolButton( box );
+ btn->setUsesBigPixmap( true );
pic.convertFromImage( Resource::loadImage( "up" ).smoothScale( AppLnk::smallIconSize(), AppLnk::smallIconSize() ) );
@@ -344,2 +345,3 @@ OFileViewFileListView::OFileViewFileListView( QWidget* parent, const QString& st
btn = new QToolButton( box );
+ btn->setUsesBigPixmap( true );
pic.convertFromImage( Resource::loadImage( "home" ).smoothScale( AppLnk::smallIconSize(), AppLnk::smallIconSize() ) );
@@ -350,2 +352,3 @@ OFileViewFileListView::OFileViewFileListView( QWidget* parent, const QString& st
btn = new QToolButton( box );
+ btn->setUsesBigPixmap( true );
pic.convertFromImage( Resource::loadImage( "DocsIcon" ).smoothScale( AppLnk::smallIconSize(), AppLnk::smallIconSize() ) );
@@ -356,2 +359,3 @@ OFileViewFileListView::OFileViewFileListView( QWidget* parent, const QString& st
m_btnNew = new QToolButton( box );
+ m_btnNew->setUsesBigPixmap( true );
pic.convertFromImage( Resource::loadImage( "new" ).smoothScale( AppLnk::smallIconSize(), AppLnk::smallIconSize() ) );
@@ -363,2 +367,3 @@ OFileViewFileListView::OFileViewFileListView( QWidget* parent, const QString& st
m_btnClose = new QToolButton( box );
+ m_btnClose->setUsesBigPixmap( true );
pic.convertFromImage( Resource::loadImage( "close" ).smoothScale( AppLnk::smallIconSize(), AppLnk::smallIconSize() ) );
@@ -369,2 +374,3 @@ OFileViewFileListView::OFileViewFileListView( QWidget* parent, const QString& st
btn = new QToolButton( box );
+ btn->setUsesBigPixmap( true );
pic.convertFromImage( Resource::loadImage( "cardmon/pcmcia" ).smoothScale( AppLnk::smallIconSize(), AppLnk::smallIconSize() ) );