/external/chromium_org/chrome/browser/ui/views/ |
D | validation_message_bubble_delegate.cc | 45 int label_width = label->GetPreferredSize().width(); in ValidationMessageBubbleDelegate() local 55 label_width = std::max(label_width, sub_label->GetPreferredSize().width()); in ValidationMessageBubbleDelegate() 60 if (label_width < min_available) in ValidationMessageBubbleDelegate() 61 label_width = min_available; in ValidationMessageBubbleDelegate() 62 else if (label_width > max_available) in ValidationMessageBubbleDelegate() 63 label_width = max_available; in ValidationMessageBubbleDelegate() 65 label_width, label->GetHeightForWidth(label_width)); in ValidationMessageBubbleDelegate() 71 label_width, in ValidationMessageBubbleDelegate() 72 sub_label->GetHeightForWidth(label_width)); in ValidationMessageBubbleDelegate() 76 width_ = text_start_x + label_width + kPadding; in ValidationMessageBubbleDelegate()
|
/external/chromium_org/chrome/browser/ui/gtk/ |
D | create_application_shortcuts_dialog_gtk.cc | 152 int label_width; in CreateDialogBox() local 155 IDS_CREATE_SHORTCUTS_DIALOG_WIDTH_CHARS, -1, &label_width, NULL); in CreateDialogBox() 156 label_width -= ui::kControlSpacing * 3 + in CreateDialogBox() 160 if (label_width < kDescriptionLabelMinimumWidthPixels) in CreateDialogBox() 161 label_width = kDescriptionLabelMinimumWidthPixels; in CreateDialogBox() 162 gtk_util::SetLabelWidth(description_label, label_width); in CreateDialogBox()
|
/external/chromium/chrome/browser/ui/views/ |
D | first_run_search_engine_view.cc | 326 int label_width = GetPreferredSize().width() - 2 * views::kPanelHorizMargin; in SetupControls() local 335 title_label_->SizeToFit(label_width); in SetupControls() 345 text_label_->SizeToFit(label_width); in SetupControls() 363 int label_width = GetPreferredSize().width() - 2 * views::kPanelHorizMargin; in Layout() local 370 label_width, in Layout() 378 label_width, in Layout() 408 (label_width - (num_choices * logo_width)) / (num_choices + 1); in Layout()
|
/external/chromium_org/ui/views/focus/ |
D | focus_traversal_unittest.cc | 305 int label_width = 50; in InitContentView() local 314 label->SetBounds(label_x, y, label_width, label_height); in InitContentView() 319 text_field->SetBounds(label_x + label_width + 5, y, in InitContentView() 327 label->SetBounds(label_x, y, label_width, label_height); in InitContentView() 332 text_field->SetBounds(label_x + label_width + 5, y, in InitContentView() 340 label->SetBounds(label_x, y, label_width, label_height); in InitContentView() 345 text_field->SetBounds(label_x + label_width + 5, y, in InitContentView() 353 label->SetBounds(label_x, y, label_width, label_height); in InitContentView() 358 text_field->SetBounds(label_x + label_width + 5, y, in InitContentView() 371 cb->SetBounds(label_x + label_width + 5, y, 180, 20); in InitContentView() [all …]
|
/external/chromium_org/ui/views/controls/ |
D | label.cc | 189 int label_width = 0; in SizeToFit() local 192 label_width = std::max(label_width, gfx::GetStringWidth(*iter, font_list_)); in SizeToFit() 195 label_width += GetInsets().width(); in SizeToFit() 198 label_width = std::min(label_width, max_width); in SizeToFit() 200 SetBounds(x(), y(), label_width, 0); in SizeToFit()
|
/external/chromium/chrome/browser/ui/gtk/ |
D | create_application_shortcuts_dialog_gtk.cc | 127 int label_width; in CreateDialogBox() local 130 IDS_CREATE_SHORTCUTS_DIALOG_WIDTH_CHARS, -1, &label_width, NULL); in CreateDialogBox() 131 label_width -= gtk_util::kControlSpacing * 3 + in CreateDialogBox() 133 gtk_util::SetLabelWidth(description_label, label_width); in CreateDialogBox()
|
/external/chromium_org/chrome/browser/ui/cocoa/location_bar/ |
D | bubble_decoration.mm | 47 const CGFloat label_width = 49 return kBubblePadding + image_width + kIconLabelPadding + label_width;
|
/external/chromium/chrome/browser/ui/cocoa/location_bar/ |
D | bubble_decoration.mm | 61 const CGFloat label_width = 63 return kBubblePadding + image_width + label_width;
|
/external/chromium_org/chrome/browser/ui/gtk/download/ |
D | download_item_gtk.cc | 613 gint label_width = req.width; in UpdateDangerWarning() local 622 label_width = full_width * tenths / 10; in UpdateDangerWarning() 623 gtk_widget_set_size_request(dangerous_label_, label_width, -1); in UpdateDangerWarning() 633 dangerous_hbox_start_width_ = dangerous_hbox_full_width_ - label_width; in UpdateDangerWarning()
|
/external/chromium/chrome/browser/ui/gtk/download/ |
D | download_item_gtk.cc | 649 gint label_width = req.width * 6 / 10; in UpdateDangerWarning() local 651 gtk_widget_set_size_request(dangerous_label_, label_width, -1); in UpdateDangerWarning() 657 dangerous_hbox_start_width_ = dangerous_hbox_full_width_ - label_width; in UpdateDangerWarning()
|
/external/chromium_org/chrome/browser/ui/gtk/website_settings/ |
D | website_settings_popup_gtk.cc | 487 int label_width = kPopupWidth - close_button_->SurfaceWidth(); in SetIdentityInfo() local 488 gtk_util::SetLabelWidth(identity_label, label_width); in SetIdentityInfo()
|
/external/chromium_org/chrome/browser/ui/views/autofill/ |
D | autofill_dialog_views.cc | 326 int label_width = width - GetInsets().width(); in GetHeightForWidth() local 329 label_width -= tooltip_icon->GetPreferredSize().width() + in GetHeightForWidth() 333 return child_at(0)->GetHeightForWidth(label_width) + GetInsets().height(); in GetHeightForWidth()
|