Searched defs:label_width (Results 1 - 6 of 6) sorted by relevance

/external/chromium_org/chrome/browser/ui/views/
H A Dvalidation_message_bubble_delegate.cc44 int label_width = label->GetPreferredSize().width(); local
52 label_width = std::max(label_width, sub_label->GetPreferredSize().width());
57 if (label_width < min_available)
58 label_width = min_available;
59 else if (label_width > max_available)
60 label_width = max_available;
62 label_width, label->GetHeightForWidth(label_width));
68 label_width,
[all...]
/external/chromium_org/chrome/browser/ui/views/location_bar/
H A Dorigin_chip_view.cc296 int label_width = std::max(0, width() - label_x - kEdgeThickness); local
301 std::min(ev_label_->GetPreferredSize().width(), label_width);
307 label_width = std::max(0, label_width - ev_label_width);
309 host_label_->SetBounds(label_x, label_y, label_width, label_height);
/external/chromium_org/ui/views/controls/
H A Dlabel.cc194 int label_width = 0; local
197 label_width = std::max(label_width, gfx::GetStringWidth(*iter, font_list_));
200 label_width += GetInsets().width();
203 label_width = std::min(label_width, max_width);
205 SetBounds(x(), y(), label_width, 0); local
/external/chromium_org/ui/views/focus/
H A Dfocus_traversal_unittest.cc302 int label_width = 50; local
311 label->SetBounds(label_x, y, label_width, label_height);
316 text_field->SetBounds(label_x + label_width + 5, y,
324 label->SetBounds(label_x, y, label_width, label_height);
329 text_field->SetBounds(label_x + label_width + 5, y,
337 label->SetBounds(label_x, y, label_width, label_height);
342 text_field->SetBounds(label_x + label_width + 5, y,
350 label->SetBounds(label_x, y, label_width, label_height);
355 text_field->SetBounds(label_x + label_width + 5, y,
368 cb->SetBounds(label_x + label_width
[all...]
/external/chromium_org/chrome/browser/ui/views/profiles/
H A Dprofile_chooser_view.cc462 int label_width = width() - 2 * label_padding; variable
463 DCHECK_GT(label_width, 0);
464 title_label_->SetBounds(label_padding, 0, label_width, height());
1598 int label_width = local
1601 views::GridLayout::FIXED, label_width, label_width);
/external/chromium_org/chrome/browser/ui/views/autofill/
H A Dautofill_dialog_views.cc317 int label_width = width - GetInsets().width(); variable
320 label_width -= tooltip_icon->GetPreferredSize().width() +
324 return child_at(0)->GetHeightForWidth(label_width) + GetInsets().height();

Completed in 207 milliseconds