Why check for if (active_lens_view_->lens()) at the start of DashView::OnSearchFinished? Small style issue, no space before (hints).
plese use: nux::color::White instead of: nux::Color(1.0f,1.0f,1.0f,1.0f)
Instead of using += on a std::string, use a string stream.
#include <sstream>
std::stringstream sout;
sout << "<span size='larger' weight='bold'>"; //... sout << g_variant_get_string(it->second, NULL); //... sout << "Sorry, there is nothing that matches your search."; //... sout << "</span>";
LOG_DEBUG(logger) << "The no-result-hint is: " << sout.str();
no_results_->SetText(sout.str());
How does the normal results view get shown again?
« Back to merge proposal
Why check for lens_view_ ->lens( )) :OnSearchFinish ed?
if (active_
at the start of DashView:
Small style issue, no space before (hints).
plese use: Color(1. 0f,1.0f, 1.0f,1. 0f)
nux::color::White
instead of:
nux::
Instead of using += on a std::string, use a string stream.
#include <sstream>
std::stringstream sout;
sout << "<span size='larger' weight='bold'>"; get_string( it->second, NULL);
//...
sout << g_variant_
//...
sout << "Sorry, there is nothing that matches your search.";
//...
sout << "</span>";
LOG_DEBUG(logger) << "The no-result-hint is: " << sout.str();
no_results_ ->SetText( sout.str( ));
How does the normal results view get shown again?