~brandontschaefer/unity/bump-to-new-nux-abi

« back to all changes in this revision

Viewing changes to launcher/SwitcherView.cpp

  • Committer: CI bot
  • Author(s): Marco Trevisan (Treviño)
  • Date: 2014-09-04 22:11:03 UTC
  • mfrom: (3844.10.37 scaling-lockscreen)
  • Revision ID: ps-jenkins@lists.canonical.com-20140904221103-y9g3g7yrsbi7zsbr
Lockscreen: scale the UI elements based on current monitor scaling Fixes: 1292218
Approved by: PS Jenkins bot, Andrea Azzarone

Show diffs side-by-side

added added

removed removed

Lines of Context:
79
79
  icon_renderer_->scale = scale();
80
80
 
81
81
  text_view_->SetMaximumWidth(tile_size * TEXT_TILE_MULTIPLIER);
82
 
  text_view_->SetLines(1);
 
82
  text_view_->SetLines(-1);
83
83
  text_view_->SetTextColor(nux::color::White);
84
84
  text_view_->SetFont("Ubuntu Bold 10");
85
85
  text_view_->SetScale(scale);