Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Object Inspector selector to use a drop down instead of a tab bar #6008

Merged
merged 3 commits into from
Jul 10, 2023

Conversation

bkonyi
Copy link
Contributor

@bkonyi bkonyi commented Jul 10, 2023

The Object Inspector's tab bar selector could be too wide to display all the options, particularly when the selector's screen real estate is small. This change switches the selector from a tab bar to a drop down button.

Before:
Screenshot 2023-07-10 at 9 41 39 AM

After:
Screenshot 2023-07-10 at 9 42 27 AM

In addition, this change fixes some UI issues with RoundedDropDownButton and allows for creating RoundedDropDownButtons with only some corners rounded.

Before:
Screenshot 2023-07-10 at 9 41 22 AM

After:
Screenshot 2023-07-10 at 9 42 01 AM

Partial fix to #5765

The Object Inspector's tab bar selector could be too wide to display all
the options, particularly when the selector's screen real estate is
small. This change switches the selector from a tab bar to a drop down
button.

In addition, this change fixes some UI issues with
`RoundedDropDownButton` and allows for creating
`RoundedDropDownButton`s with only some corners rounded.

Partial fix to flutter#5765
@bkonyi bkonyi merged commit 7c1557a into flutter:master Jul 10, 2023
@bkonyi bkonyi deleted the object_inspector_dropdown branch July 10, 2023 19:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants