Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 19ce4ad1 authored by Chris Banes's avatar Chris Banes Committed by android-build-merger
Browse files

Fix CascadingMenuPopup width if background has padding DO NOT MERGE am: f9e2c1b3

am: be3daf69

Change-Id: I30624b96a74b5fb1928ada59e8f2a1968ef04426
parents 74bd501b be3daf69
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -366,7 +366,7 @@ final class CascadingMenuPopup extends MenuPopup implements MenuPresenter, OnKey
        final int menuWidth = measureIndividualMenuWidth(adapter, null, mContext, mMenuMaxWidth);
        final MenuPopupWindow popupWindow = createPopupWindow();
        popupWindow.setAdapter(adapter);
        popupWindow.setWidth(menuWidth);
        popupWindow.setContentWidth(menuWidth);
        popupWindow.setDropDownGravity(mDropDownGravity);

        final CascadingMenuInfo parentInfo;