Fix extension installed bubble sizing for cases where there's no body
text. BUG=618983 Review-Url: https://codereview.chromium.org/2070883002 Cr-Commit-Position: refs/heads/master@{#400204}
This commit is contained in:
@ -230,6 +230,7 @@ void ExtensionInstalledBubbleView::Init() {
|
||||
std::unique_ptr<views::BoxLayout> layout(
|
||||
new views::BoxLayout(views::BoxLayout::kVertical, 0, 0,
|
||||
views::kRelatedControlVerticalSpacing));
|
||||
layout->set_minimum_cross_axis_size(kRightColumnWidth);
|
||||
// Indent by the size of the icon.
|
||||
layout->set_inside_border_insets(gfx::Insets(
|
||||
0, GetIconSize().width() + views::kUnrelatedControlHorizontalSpacing, 0,
|
||||
|
Reference in New Issue
Block a user