You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Material text selection menu overflow buttons should be full-width #72023
I discussed with @HansMuller and it was suggested that we may want to make TextButton support a configurable alignment. That would make step 2 above much simpler to fix.
@Roshan13046 Please do, thank you! I've assigned you to this issue.
It seems like the right solution here is to do something like add an alignment parameter to TextButton.
FYI This also came up again recently when I looked at implementing at MacOS-style context menu. It will also need TextButtons that can align their text to the left. #31955 (comment)
This isn't fixed with #73894, just unblocked. We'll need to use the alignment parameter on the TextSelectionToolbarTextButtons. Also we may need to get fancier with the layout. Really we need the parent to size itself to the largest intrinsic width of its children, and then all the children need to match that width.
Activity
justinmc commentedon Dec 10, 2020
I discussed with @HansMuller and it was suggested that we may want to make TextButton support a configurable alignment. That would make step 2 above much simpler to fix.
Roshan13046 commentedon Dec 17, 2020
I would like to work on this issue.
can I go ahead?
justinmc commentedon Dec 17, 2020
@Roshan13046 Please do, thank you! I've assigned you to this issue.
It seems like the right solution here is to do something like add an
alignmentparameter to TextButton.FYI This also came up again recently when I looked at implementing at MacOS-style context menu. It will also need TextButtons that can align their text to the left. #31955 (comment)
justinmc commentedon Jan 14, 2021
This isn't fixed with #73894, just unblocked. We'll need to use the alignment parameter on the TextSelectionToolbarTextButtons. Also we may need to get fancier with the layout. Really we need the parent to size itself to the largest intrinsic width of its children, and then all the children need to match that width.