canonical / ubuntu-flutter-plugins

A collection of Flutter plugins and packages for Ubuntu applications.
48 stars 12 forks source link

feat(ubuntu_widgets): use fixed padding for MenuButtonBuilder #334

Closed d-loose closed 10 months ago

d-loose commented 10 months ago

Uses a fixed padding for the dropdown menu entries instead of inheriting it from the button theme. Related issue: https://github.com/ubuntu/app-center/issues/1473 (Yaru uses EdgeInsets.all(16) as a button padding now).

@CarlosNihelton please let me know if you think there's a better way of resolving this :)

CarlosNihelton commented 10 months ago

Do you see a reason for not having the _scalePadding computation part of Yaru itself? It seems quite effective. We should ask the yaru guys.