From 4d951431bdbf96d69a96d44bc205a64c1c84fcca Mon Sep 17 00:00:00 2001
Message-Id: <4d951431bdbf96d69a96d44bc205a64c1c84fcca.1615118667.git.bubu@ujevangelizacio.hu>
From: =?UTF-8?q?Gyuris=20Gell=C3=A9rt?= <bubu@ujevangelizacio.hu>
Date: Sun, 7 Mar 2021 13:04:17 +0100
Subject: [PATCH] Shrink eyedropper dialog for new color name

---
 scribus/canvasmode_eyedropper.cpp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/scribus/canvasmode_eyedropper.cpp b/scribus/canvasmode_eyedropper.cpp
index 4cb2464d2..f4654e012 100644
--- a/scribus/canvasmode_eyedropper.cpp
+++ b/scribus/canvasmode_eyedropper.cpp
@@ -178,14 +178,14 @@ void CanvasMode_EyeDropper::mouseReleaseEvent(QMouseEvent *m)
 	{
 		bool ok;
 		bool nameFound = false;
-		QString questionString = "<qt>" + tr("The selected color does not exist in the document's color set. Please enter a name for this new color.") + "</qt>";
+		QString questionString = "<qt>" + tr("The selected color does not exist in the document's color set.") + "<br>" + ("Please enter a name for this new color.") + "</qt>";
 		do
 		{
 			colorName = QInputDialog::getText(m_ScMW, tr("Color Not Found"), questionString, QLineEdit::Normal, tr("RGB %1").arg(selectedColor.name()), &ok);
 			if (ok)
 			{
 				if (m_doc->PageColors.contains(colorName))
-					questionString = "<qt>" + tr("The name you have selected already exists. Please enter a different name for this new color.") + "</qt>";
+					questionString = "<qt>" + tr("The name you have selected already exists.") + "<br>" + (" Please enter a different name for this new color.") + "</qt>";
 				else
 					nameFound = true;
 			}
-- 
2.27.0

