~hikiko/unity/unity.scale-track

« back to all changes in this revision

Viewing changes to unity-shared/CoverArt.cpp

  • Committer: Eleni Maria Stea
  • Date: 2014-07-07 14:43:49 UTC
  • mfrom: (3830.2.15 trunk)
  • Revision ID: elenimaria.stea@canonical.com-20140707144349-i10ellnag02ykyst
merged marco's fix for social previews: 
lp:~3v1n0/unity/previews-scaling-improved

Show diffs side-by-side

added added

removed removed

Lines of Context:
453
453
  overlay_text_->SetTextAlignment(StaticCairoText::NUX_ALIGN_CENTRE);
454
454
  overlay_text_->SetFont("Ubuntu 14");
455
455
  overlay_text_->SetLines(-3);
 
456
  overlay_text_->SetScale(scale);
456
457
  overlay_text_->SetText(_("No Image Available"));
457
458
 
458
459
  dash::Style& style = dash::Style::Instance();