[Digikam-devel] [digikam] [Bug 290930] Cannot resize gamut diagram vertically, only horizontally
Maik Qualmann
metzpinguin at gmail.com
Mon May 11 21:40:17 BST 2015
https://bugs.kde.org/show_bug.cgi?id=290930
Maik Qualmann <metzpinguin at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |metzpinguin at gmail.com
--- Comment #6 from Maik Qualmann <metzpinguin at gmail.com> ---
Gilles,
I find the best representation for the CIETongueWidget is square. What do you
think?
diff --git a/libs/widgets/iccprofiles/cietonguewidget.cpp
b/libs/widgets/iccprofiles/cietonguewidget.cpp
index 6c87e59..f309f4f 100644
--- a/libs/widgets/iccprofiles/cietonguewidget.cpp
+++ b/libs/widgets/iccprofiles/cietonguewidget.cpp
@@ -811,6 +811,8 @@ void CIETongueWidget::paintEvent(QPaintEvent*)
void CIETongueWidget::resizeEvent(QResizeEvent* event)
{
Q_UNUSED(event);
+
+ setMinimumHeight(width());
d->needUpdatePixmap = true;
}
Maik
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the Digikam-devel
mailing list