diff options
| author | Manuel de la Pena <manuel@canonical.com> | 2012-12-14 12:38:23 +0100 |
|---|---|---|
| committer | Manuel de la Pena <manuel@canonical.com> | 2012-12-14 12:38:23 +0100 |
| commit | 0f333c5721d144be04d52739def564b943863bcf (patch) | |
| tree | e0585a6fd2ce02a0aa97014e97a07e0a5d774c6a | |
| parent | 79ffbfc2039596a2453177142c7a7bcbc876ba35 (diff) | |
Use a simpler method to add the text.
(bzr r2791.11.56)
| -rw-r--r-- | dash/previews/MusicPaymentPreview.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/dash/previews/MusicPaymentPreview.cpp b/dash/previews/MusicPaymentPreview.cpp index 2e5aa85ef..a5332929a 100644 --- a/dash/previews/MusicPaymentPreview.cpp +++ b/dash/previews/MusicPaymentPreview.cpp @@ -260,8 +260,7 @@ nux::Layout* MusicPaymentPreview::GetFormLabels() password_label_->SetLines(-1); password_label_->SetFont(style.payment_form_labels_font().c_str()); password_label_->SetMinimumHeight(40); - labels_layout->AddView(password_label_.GetPointer(), - 1, nux::MINOR_POSITION_END, nux::MINOR_SIZE_FULL, 100.0f, nux::NUX_LAYOUT_END); + labels_layout->AddView(password_label_.GetPointer(), 1, nux::MINOR_POSITION_END); return labels_layout; } |
