Skip to content

Conversation

@Moluram
Copy link
Contributor

@Moluram Moluram commented May 6, 2021

Provides ability to change PopupMenuButton popup menu padding.

Fixes #57110.

This is my first PR! It's really great to participate in such a big project :)

Pre-launch Checklist

  • I read the Contributor Guide and followed the process outlined there for submitting PRs.
  • I read the Tree Hygiene wiki page, which explains my responsibilities.
  • I read and followed the Flutter Style Guide, including Features we expect every widget to implement.
  • I signed the CLA.
  • I listed at least one issue that this PR fixes in the description above.
  • I updated/added relevant documentation (doc comments with ///).
  • I added new tests to check the change I am making or feature I am adding, or Hixie said the PR is test-exempt.
  • All existing and new tests are passing.

If you need help, consider asking for advice on the #hackers-new channel on Discord.

@flutter-dashboard flutter-dashboard bot added f: material design flutter/packages/flutter/material repository. framework flutter/packages/flutter repository. See also f: labels. labels May 6, 2021
@google-cla
Copy link

google-cla bot commented May 6, 2021

We found a Contributor License Agreement for you (the sender of this pull request), but were unable to find agreements for all the commit author(s) or Co-authors. If you authored these, maybe you used a different email address in the git commits than was used to sign the CLA (login here to double check)? If these were authored by someone else, then they will need to sign a CLA as well, and confirm that they're okay with these being contributed to Google.
In order to pass this check, please resolve this problem and then comment @googlebot I fixed it.. If the bot doesn't comment, it means it doesn't think anything has changed.

ℹ️ Googlers: Go here for more info.

@google-cla google-cla bot added the cla: no label May 6, 2021
@Moluram Moluram force-pushed the popup-menu-custom-padding branch from 66dc109 to 6a3dc2f Compare May 6, 2021 21:51
@google-cla google-cla bot added cla: yes and removed cla: no labels May 6, 2021
@HansMuller HansMuller requested a review from darrenaustin May 13, 2021 23:38
@Piinks
Copy link
Contributor

Piinks commented Jun 10, 2021

Hi @Moluram it looks like there are some merge conflicts here, would you like to take a look and update this PR?

…adding

# Conflicts:
#	packages/flutter/lib/src/material/popup_menu.dart
@Moluram
Copy link
Contributor Author

Moluram commented Sep 29, 2021

Hello @darrenaustin!
Could you please take a look at this PR?

@MahMoos
Copy link

MahMoos commented Dec 15, 2021

Any update on this?

@arafaysaleem
Copy link
Contributor

What's the status of this PR?

@darrenaustin
Copy link
Contributor

Hello @darrenaustin! Could you please take a look at this PR?

@Moluram I am so sorry it has taken me so long to get to this. Unfortunately it looks like it is has been long enough that there is another merge conflict with what is currently in master. If you are still up for it, can you update to the latest on master? I promise I will act on this when it is ready to go. If not, I understand and we can try to get this into the tree some other way. Thx.

@arafaysaleem
Copy link
Contributor

@darrenaustin I opened a new PR with the same changes applied on the latest master branch. The PR is hopefully updated now

@arafaysaleem
Copy link
Contributor

@darrenaustin we can close this

@Piinks Piinks closed this Jan 18, 2022
@ronytesler
Copy link

How can I set the _kMenuScreenPadding?

@fa-fifi
Copy link

fa-fifi commented Feb 15, 2024

SInce this issue is not solved yet, I open a new one #143512.

@ivictoruan

This comment was marked as spam.

auto-submit bot pushed a commit that referenced this pull request Jun 20, 2024
## Description

This PR exposed `PopupMenuButton.menuPadding` parameter to override the hardcoded value.

Credits to @Moluram for the original PR #81996.
And to @arafaysaleem for the update in #96657.

#96657 was reverted due to a Google testing failure. `PopupMenuButton` implementation has evolved since that time so maybe we will not hit this Google testing failure. And if we do, we will try to figure out what is going on.

## Related Issue

Fixes #143512.
Fixes #57110

## Tests

Adds 2 tests, updates several tests.
sigurdm pushed a commit to sigurdm/flutter that referenced this pull request Jun 26, 2024
## Description

This PR exposed `PopupMenuButton.menuPadding` parameter to override the hardcoded value.

Credits to @Moluram for the original PR flutter#81996.
And to @arafaysaleem for the update in flutter#96657.

flutter#96657 was reverted due to a Google testing failure. `PopupMenuButton` implementation has evolved since that time so maybe we will not hit this Google testing failure. And if we do, we will try to figure out what is going on.

## Related Issue

Fixes flutter#143512.
Fixes flutter#57110

## Tests

Adds 2 tests, updates several tests.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

f: material design flutter/packages/flutter/material repository. framework flutter/packages/flutter repository. See also f: labels.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Custom Padding in PopupMenuButton

8 participants