Mailinglist Archive: yast-commit (819 mails)

< Previous Next >
[yast-commit] r54528 - in /trunk/qt-pkg: package/yast2-qt-pkg.changes src/YQPkgVersionsView.cc
  • From: sh-sh-sh@xxxxxxxxxxxxxxxx
  • Date: Fri, 09 Jan 2009 17:53:52 -0000
  • Message-id: <E1LLLYO-000437-5f@xxxxxxxxxxxxxxxx>
Author: sh-sh-sh
Date: Fri Jan 9 18:53:51 2009
New Revision: 54528

URL: http://svn.opensuse.org/viewcvs/yast?rev=54528&view=rev
Log:
Fixed accumulated margins in "Versions" view for installed

Modified:
trunk/qt-pkg/package/yast2-qt-pkg.changes
trunk/qt-pkg/src/YQPkgVersionsView.cc

Modified: trunk/qt-pkg/package/yast2-qt-pkg.changes
URL:
http://svn.opensuse.org/viewcvs/yast/trunk/qt-pkg/package/yast2-qt-pkg.changes?rev=54528&r1=54527&r2=54528&view=diff
==============================================================================
--- trunk/qt-pkg/package/yast2-qt-pkg.changes (original)
+++ trunk/qt-pkg/package/yast2-qt-pkg.changes Fri Jan 9 18:53:51 2009
@@ -1,4 +1,9 @@
-------------------------------------------------------------------
+Fri Jan 9 18:52:44 CET 2009 - sh@xxxxxxx
+
+- Fixed accumulated margins in "Versions" view for installed
+
+-------------------------------------------------------------------
Fri Jan 9 17:59:43 CET 2009 - sh@xxxxxxx

- Fixed bnc #462778: Community repos show up as repo_1, repo_2, etc.

Modified: trunk/qt-pkg/src/YQPkgVersionsView.cc
URL:
http://svn.opensuse.org/viewcvs/yast/trunk/qt-pkg/src/YQPkgVersionsView.cc?rev=54528&r1=54527&r2=54528&view=diff
==============================================================================
--- trunk/qt-pkg/src/YQPkgVersionsView.cc (original)
+++ trunk/qt-pkg/src/YQPkgVersionsView.cc Fri Jan 9 18:53:51 2009
@@ -149,15 +149,16 @@
.arg( (*it)->arch().asString().c_str() );

QWidget * installedVersion = new QWidget( this );
- QHBoxLayout *layout = new QHBoxLayout( installedVersion );
+ QHBoxLayout * instLayout = new QHBoxLayout( installedVersion );
+ instLayout->setContentsMargins( 0, 0, 0, 0 );

QLabel * icon = new QLabel( installedVersion );
icon->setPixmap( YQIconPool::pkgSatisfied() );
- layout->addWidget( icon );
+ instLayout->addWidget( icon );

QLabel * textLabel = new QLabel( text, installedVersion );
- layout->addWidget( textLabel );
- layout->addStretch();
+ instLayout->addWidget( textLabel );
+ instLayout->addStretch();

_installed.push_back( installedVersion );
_layout->addWidget( installedVersion );

--
To unsubscribe, e-mail: yast-commit+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: yast-commit+help@xxxxxxxxxxxx

< Previous Next >
This Thread
  • No further messages