Commit a2b6dc6d authored by Ahmed Mehfooz's avatar Ahmed Mehfooz Committed by Commit Bot

Add spacing between holding space bubble and shelf

Bug: 1129698
Change-Id: I9a2fc1128ac069f40ce42e1ae4c597a8ee26c581
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2417493Reviewed-by: default avatarDavid Black <dmblack@google.com>
Commit-Queue: Ahmed Mehfooz <amehfooz@chromium.org>
Cr-Commit-Position: refs/heads/master@{#808227}
parent 4717c32d
...@@ -137,7 +137,6 @@ void HoldingSpaceTray::ShowBubble(bool show_by_click) { ...@@ -137,7 +137,6 @@ void HoldingSpaceTray::ShowBubble(bool show_by_click) {
init_params.delegate = this; init_params.delegate = this;
init_params.parent_window = GetBubbleWindowContainer(); init_params.parent_window = GetBubbleWindowContainer();
init_params.anchor_view = GetBubbleAnchor(); init_params.anchor_view = GetBubbleAnchor();
init_params.insets = GetTrayBubbleInsets();
init_params.shelf_alignment = shelf()->alignment(); init_params.shelf_alignment = shelf()->alignment();
init_params.preferred_width = kHoldingSpaceWidth; init_params.preferred_width = kHoldingSpaceWidth;
init_params.close_on_deactivate = true; init_params.close_on_deactivate = true;
...@@ -147,6 +146,7 @@ void HoldingSpaceTray::ShowBubble(bool show_by_click) { ...@@ -147,6 +146,7 @@ void HoldingSpaceTray::ShowBubble(bool show_by_click) {
// Create and customize bubble view. // Create and customize bubble view.
TrayBubbleView* bubble_view = new TrayBubbleView(init_params); TrayBubbleView* bubble_view = new TrayBubbleView(init_params);
bubble_view->set_anchor_view_insets(GetBubbleAnchorInsets()); bubble_view->set_anchor_view_insets(GetBubbleAnchorInsets());
bubble_view->set_margins(GetSecondaryBubbleInsets());
// Add pinned files container. // Add pinned files container.
pinned_files_container_ = pinned_files_container_ =
......
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