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

FloatingButton disabled style #30

Open
hailstorm75 opened this issue Nov 14, 2021 · 2 comments
Open

FloatingButton disabled style #30

hailstorm75 opened this issue Nov 14, 2021 · 2 comments
Projects
Milestone

Comments

@hailstorm75
Copy link

The FloatingButton control style does not reflect the button's disabled state.
As of now, the button keeps its original color and does not hover.

The expected behavior would be for the button to change its color to say gray.

image

In this image, the Plus button is currently set to disabled and is clearly not visually distinctive from the Search button, which is active.

@PieroCastillo
Copy link
Owner

let me fix it

@PieroCastillo
Copy link
Owner

for now u can use this

  <Style Selector="FloattingButton:disabled">
    <Setter Property="Background" Value="{DynamicResource ButtonBackgroundDisabled}" />
    <Setter Property="BorderBrush" Value="{DynamicResource ButtonBorderBrushDisabled}" />
    <Setter Property="TextBlock.Foreground" Value="{DynamicResource ButtonForegroundDisabled}" />
  </Style>

but I'll add that feature in the next version

@PieroCastillo PieroCastillo added this to To Do (Priority) in 0.1.5 Nov 15, 2021
@PieroCastillo PieroCastillo added this to the v0.1.5 milestone Jan 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Todo (Priority)
0.1.5
To Do (Priority)
Development

No branches or pull requests

2 participants