Index: ash/system/tray/tray_item_more.cc |
diff --git a/ash/system/tray/tray_item_more.cc b/ash/system/tray/tray_item_more.cc |
index bcf666e13a8810fe7efcd48e7b31c0961960cee5..13ce3c49d6470efc2c33c20e864f2f5762b4b194 100644 |
--- a/ash/system/tray/tray_item_more.cc |
+++ b/ash/system/tray/tray_item_more.cc |
@@ -74,7 +74,9 @@ void TrayItemMore::Layout() { |
// Adjust the label's bounds in case it got cut off by |more_|. |
if (label_->bounds().Intersects(more_->bounds())) { |
- label_->SetBoundsRect(label_->bounds().Subtract(more_->bounds())); |
+ gfx::Rect bounds = label_->bounds(); |
+ bounds.set_width(more_->x() - kTrayPopupPaddingBetweenItems - label_->x()); |
+ label_->SetBoundsRect(bounds); |
} |
} |