author | llornkcor <llornkcor> | 2002-09-19 00:43:06 (UTC) |
---|---|---|
committer | llornkcor <llornkcor> | 2002-09-19 00:43:06 (UTC) |
commit | ac90402cf450e0da9c2600e5ccff185c47075f84 (patch) (side-by-side diff) | |
tree | 57c1212e8ffb1d2df8ee782b08d655c4a6998b46 | |
parent | dd4b256d39e7a438a7d688471d257dd10a75d138 (diff) | |
download | opie-ac90402cf450e0da9c2600e5ccff185c47075f84.zip opie-ac90402cf450e0da9c2600e5ccff185c47075f84.tar.gz opie-ac90402cf450e0da9c2600e5ccff185c47075f84.tar.bz2 |
tweaked gui placement better for landscape
-rw-r--r-- | noncore/multimedia/opieplayer2/audiowidget.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/noncore/multimedia/opieplayer2/audiowidget.cpp b/noncore/multimedia/opieplayer2/audiowidget.cpp index 7c49733..45f301e 100644 --- a/noncore/multimedia/opieplayer2/audiowidget.cpp +++ b/noncore/multimedia/opieplayer2/audiowidget.cpp @@ -40,9 +40,9 @@ #include <qbutton.h> #include <qpainter.h> #include <qframe.h> #include <qlayout.h> - +#include <qdir.h> #include <stdlib.h> #include <stdio.h> #include "audiowidget.h" @@ -252,11 +252,11 @@ QPixmap *maskPixToMask( QPixmap pix, QBitmap mask ) { void AudioWidget::resizeEvent( QResizeEvent * ) { int h = height(); int w = width(); - songInfo.setGeometry( QRect( 2, 10, w - 4, 20 ) ); + songInfo.setGeometry( QRect( 2, 2, w - 4, 20 ) ); slider.setFixedWidth( w - 110 ); - slider.setGeometry( QRect( 15, h - 30, w - 90, 20 ) ); + slider.setGeometry( QRect( 15, h - 22, w - 90, 20 ) ); slider.setBackgroundOrigin( QWidget::ParentOrigin ); time.setGeometry( QRect( w - 85, h - 30, 70, 20 ) ); xoff = ( w - imgUp->width() ) / 2; |