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

Example: move code snippet button out of the app bar #519

Merged
merged 2 commits into from
Jan 14, 2023
Merged

Example: move code snippet button out of the app bar #519

merged 2 commits into from
Jan 14, 2023

Conversation

jpnurmi
Copy link
Member

@jpnurmi jpnurmi commented Jan 14, 2023

It takes too much space when we switch to a window title bar. How about using a FAB instead?

Before After
image Screenshot from 2023-01-14 17-25-26

@jpnurmi
Copy link
Member Author

jpnurmi commented Jan 14, 2023

This is how it would look like if we kept it in the window title bar, which is why I want to move it...

Screenshot from 2023-01-14 17-15-22

@Feichtmeier
Copy link
Member

FAB is nice! We finally have a FAB 👯

@Jupi007
Copy link
Member

Jupi007 commented Jan 14, 2023

I like it 👌 but isn't this green a little bit too much attention grabbing?

@jpnurmi
Copy link
Member Author

jpnurmi commented Jan 14, 2023

Agreed! Any suggestion what color to use?

@Feichtmeier
Copy link
Member

the color from the popup menus :)

@jpnurmi
Copy link
Member Author

jpnurmi commented Jan 14, 2023

foregroundColor: Theme.of(context).colorScheme.onSurface,
backgroundColor: PopupMenuTheme.of(context).color,
shape: PopupMenuTheme.of(context).shape,
Normal Hovered
image image

@Jupi007
Copy link
Member

Jupi007 commented Jan 14, 2023

@jpnurmi much better 👍

@Feichtmeier Feichtmeier merged commit 2d847cf into ubuntu:main Jan 14, 2023
@jpnurmi jpnurmi deleted the code-snippet-button branch January 14, 2023 17:37
@jpnurmi jpnurmi mentioned this pull request Jan 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants