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

Unified Diff: trunk/src/ui/views/controls/button/label_button.h

Issue 188893003: Revert 255091 "linux_aura: Fix all instances of LabelButton sizing." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 6 years, 9 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
Index: trunk/src/ui/views/controls/button/label_button.h
===================================================================
--- trunk/src/ui/views/controls/button/label_button.h (revision 255405)
+++ trunk/src/ui/views/controls/button/label_button.h (working copy)
@@ -61,6 +61,7 @@
// Call set_min_size(gfx::Size()) to clear the monotonically increasing size.
void set_min_size(const gfx::Size& min_size) { min_size_ = min_size; }
+ void set_min_width(const int min_width) { min_size_.set_width(min_width); }
void set_max_size(const gfx::Size& max_size) { max_size_ = max_size; }
// Get or set the option to handle the return key; false by default.
« no previous file with comments | « trunk/src/chrome/browser/ui/views/fullscreen_exit_bubble_views.cc ('k') | trunk/src/ui/views/window/dialog_client_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698