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

Improvements for DesignSwitcher #1798

Open
StephanSchuster opened this issue Nov 18, 2024 · 1 comment
Open

Improvements for DesignSwitcher #1798

StephanSchuster opened this issue Nov 18, 2024 · 1 comment
Labels
Type: Customer Issue Many eyes on this issue

Comments

@StephanSchuster
Copy link

StephanSchuster commented Nov 18, 2024

Maybe at some point the design switcher could get some more love. Here would be my wish list:

1. Wrong offsets for "Show node names"
If I render edge-to-edge and compensate the system bars via Box(modifier = Modifier.fillMaxSize().systemBarsPadding()) { DesignSwitcher(modifier = Modifier.align(Alignment.TopEnd)) } the DesignSwitcher is nicely placed top right in the content area but all "node names" seem to be off for the height of the status bar. I have not spent enough time to understand why, but I assume this has to do with the absoluteOffset. I would be really happy if you could have a look.

Image

2. Preconfigure options
We would like to e.g. launch the DesignSwitcher with "Show mini messages" disabled for less distraction.

3. Pixel details
When switching between "Status" and "Options" there is a small pixel jump. Mini messages have a 1px border/space on top, the window does not. And maybe the overlay on "Change" could fill the whole switcher in order to reduce layers and visual complexity. I know that the DesignSwitcher it is a debug thingy but I assume these things are rather easy to fix and would add to a more professional look and feel and are worth the effort.

Image

Last but no least a question:
Is there currently (or in future) a way to customize the DesignSwitcher?

@rylin8
Copy link
Collaborator

rylin8 commented Nov 18, 2024

Thanks for the suggestions, we will take them into account. Sorry there is no way to customize the DesignSwitcher at the moment.

@rylin8 rylin8 added the Type: Customer Issue Many eyes on this issue label Nov 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Customer Issue Many eyes on this issue
Projects
Status: No status
Development

No branches or pull requests

2 participants