From 79f5ba00a6ebd880db3d0b1a476d16e898819f2a Mon Sep 17 00:00:00 2001 From: Evgen Servetnik Date: Tue, 19 Sep 2017 16:47:26 +0300 Subject: [PATCH] TizenRefApp-9363 [GUI] Wrong color for recipients Change-Id: Ice2d6dd086e88954fef5301aeb64c191f6aef99b Signed-off-by: Evgen Servetnik --- .../Recipients/View/src/ConvRecipientsPanelView.cpp | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/src/Conversation/Recipients/View/src/ConvRecipientsPanelView.cpp b/src/Conversation/Recipients/View/src/ConvRecipientsPanelView.cpp index 0063465a..833f0be5 100644 --- a/src/Conversation/Recipients/View/src/ConvRecipientsPanelView.cpp +++ b/src/Conversation/Recipients/View/src/ConvRecipientsPanelView.cpp @@ -407,12 +407,17 @@ void ConvRecipientsPanelView::expandRecipients() void ConvRecipientsPanelView::updateShortenedRecipients() { const auto &items = m_pMbe->getItems(); + const std::string coutnterColor = "#3DB9CCFF"; std::string shortenedRecipients; if (!items.empty()) { shortenedRecipients = items[0]->getDispName(); - if (items.size() > 1) - shortenedRecipients += " + " + std::to_string(items.size() - 1); - setEntryText(shortenedRecipients); + if (items.size() > 1) { + shortenedRecipients = utf8ToMarkup(shortenedRecipients); + shortenedRecipients += " + " + std::to_string(items.size() - 1) + ""; + elm_object_text_set(m_pEntry, shortenedRecipients.c_str()); + } else { + setEntryText(shortenedRecipients); + } } } -- 2.34.1