Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(781)

Unified Diff: ui/views/window/dialog_client_view.cc

Issue 187133003: linux_aura: Fix all instances of LabelButton sizing. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Revert on the right branch. Created 6 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/views/controls/button/label_button.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/window/dialog_client_view.cc
diff --git a/ui/views/window/dialog_client_view.cc b/ui/views/window/dialog_client_view.cc
index d75ae1f235f069952be58e2b4fa7fe2ebb44628b..cdcc98ef5bb3e2e0b97da9c41bc4bf8f42455b22 100644
--- a/ui/views/window/dialog_client_view.cc
+++ b/ui/views/window/dialog_client_view.cc
@@ -383,7 +383,7 @@ LabelButton* DialogClientView::CreateDialogButton(ui::DialogButton type) {
button->SetFocusable(true);
const int kDialogMinButtonWidth = 75;
- button->set_min_width(kDialogMinButtonWidth);
+ button->set_min_size(gfx::Size(kDialogMinButtonWidth, 0));
button->SetGroup(kButtonGroup);
return button;
}
« no previous file with comments | « ui/views/controls/button/label_button.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698