Commit 4070d562 authored by Ahmed Mehfooz's avatar Ahmed Mehfooz Committed by Commit Bot

Re-enable elide for notification buttons

The elide for notification buttons was disabled to fix a
relatively smaller bug. Need it enabled for
correct functionality with longer labels.

Bug: 1043643
Change-Id: Ia38f5586d636e1e06033ed468275d2dfe28bf6ff
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2065549Reviewed-by: default avatarTim Song <tengs@chromium.org>
Commit-Queue: Ahmed Mehfooz <amehfooz@chromium.org>
Cr-Commit-Position: refs/heads/master@{#742878}
parent 398841b1
...@@ -340,7 +340,6 @@ NotificationButtonMD::NotificationButtonMD( ...@@ -340,7 +340,6 @@ NotificationButtonMD::NotificationButtonMD(
set_ink_drop_base_color(SK_ColorBLACK); set_ink_drop_base_color(SK_ColorBLACK);
set_ink_drop_visible_opacity(kActionButtonInkDropRippleVisibleOpacity); set_ink_drop_visible_opacity(kActionButtonInkDropRippleVisibleOpacity);
SetEnabledTextColors(kActionButtonTextColor); SetEnabledTextColors(kActionButtonTextColor);
SetElideBehavior(gfx::NO_ELIDE);
SetBorder(views::CreateEmptyBorder(kActionButtonPadding)); SetBorder(views::CreateEmptyBorder(kActionButtonPadding));
SetMinSize(kActionButtonMinSize); SetMinSize(kActionButtonMinSize);
SetFocusForPlatform(); SetFocusForPlatform();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment