[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    KDE/kdeplasmoids/applets/kolourpicker
From:       Riccardo Iaconelli <riccardo () kde ! org>
Date:       2008-06-18 11:33:28
Message-ID: 1213788808.440485.12198.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 821753 by ruphy:

Set minimumSize of buttons to 22x22, so they are not painted outside the plasmoid. \
(this time correct patch)

Patch by Toussis Manolis. Welcome to KDE development! =)

CCMAIL: manolis@koppermind.homelinux.org



 M  +2 -0      kolourpicker.cpp  


--- trunk/KDE/kdeplasmoids/applets/kolourpicker/kolourpicker.cpp #821752:821753
@@ -186,12 +186,14 @@
 
     m_grabButton = new PickerButton(this);
     mainlay->addItem(m_grabButton);
+    m_grabButton->setMinimumSize(22,22);
     m_grabButton->nativeWidget()->setIcon(KIcon("color-picker"));
     connect(m_grabButton, SIGNAL(clicked()), this, SLOT(grabClicked()));
 
     m_historyButton = new PickerButton(this);
     mainlay->addItem(m_historyButton);
     m_historyButton->setEnabled(false);
+    m_historyButton->setMinimumSize(22,22);
     m_historyButton->nativeWidget()->setIcon(ColorIcon(Qt::gray));
     connect(m_historyButton, SIGNAL(clicked()), this, SLOT(historyClicked()));
 


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic