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

Unified Diff: ash/system/tray/tray_details_view.cc

Issue 82483003: Add GetMinimumSize() for Borders, and make LabelButton auto-size to at least as (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 7 years, 1 month 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: ash/system/tray/tray_details_view.cc
===================================================================
--- ash/system/tray/tray_details_view.cc (revision 236640)
+++ ash/system/tray/tray_details_view.cc (working copy)
@@ -53,6 +53,10 @@
return gfx::Insets(0, 0, 1, 0);
}
+ virtual gfx::Size GetMinimumSize() const OVERRIDE {
+ return gfx::Size(0, 1);
+ }
+
bool visible_;
DISALLOW_COPY_AND_ASSIGN(ScrollBorder);

Powered by Google App Engine
This is Rietveld 408576698