mirror of
https://bitbucket.org/smil3y/kde-extraapps.git
synced 2025-02-24 10:52:53 +00:00
kdeplasma-addons: expand the kolourpicker applet color button
to use most of the applet area and make it a bigger drag-n-drop target Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
parent
8bc68f81c9
commit
b76f1024c1
1 changed files with 1 additions and 1 deletions
|
@ -258,7 +258,7 @@ Kolourpicker::Kolourpicker(QObject *parent, const QVariantList &args)
|
||||||
mainlay->addItem(m_configAndHistory);
|
mainlay->addItem(m_configAndHistory);
|
||||||
|
|
||||||
m_configAndHistory->nativeWidget()->setIcon(ColorIcon(Qt::gray));
|
m_configAndHistory->nativeWidget()->setIcon(ColorIcon(Qt::gray));
|
||||||
m_configAndHistory->nativeWidget()->setSizePolicy(QSizePolicy::Preferred, QSizePolicy::Preferred);
|
m_configAndHistory->nativeWidget()->setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Expanding);
|
||||||
connect(m_configAndHistory, SIGNAL(clicked()), this, SLOT(historyClicked()));
|
connect(m_configAndHistory, SIGNAL(clicked()), this, SLOT(historyClicked()));
|
||||||
|
|
||||||
KMenu *menu = new KMenu();
|
KMenu *menu = new KMenu();
|
||||||
|
|
Loading…
Add table
Reference in a new issue