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

Opacity of floating watermark #408

Open
1 task done
kerams opened this issue Oct 13, 2024 · 2 comments
Open
1 task done

Opacity of floating watermark #408

kerams opened this issue Oct 13, 2024 · 2 comments
Labels
enhancement New feature or request

Comments

@kerams
Copy link

kerams commented Oct 13, 2024

Usage Information

3.7.4

Description

image

Reproduction Steps

https://avaloniacommunity.github.io/Material.Avalonia/

<TextBox
  UseFloatingWatermark="True"
  Classes="clearButton"
  p1:TextFieldAssist.Label="Text field"
  xmlns:p1="clr-namespace:Material.Styles.Assists;assembly=Material.Styles" />

Expected Behavior

When a floating watermark functions as the placeholder/regular watermark (i.e. when the focus is elsewhere), it should have reduced opacity, otherwise it looks like the text box contains an actual value.

All text in the picture above should have the same opacity as the second text box.

Actual Behavior

Floating watermark is always rendered with full opacity.

Regression?

No response

Known Workarounds

No response

Anything else?

No response

Could you help with a pull-request?

No

Is there an existing issue for this?

  • I have searched the existing issues
@kerams kerams added the bug Something isn't working label Oct 13, 2024
@SKProCH
Copy link
Collaborator

SKProCH commented Oct 13, 2024

I suppose it's actually by design, but it probably isn't hard to change.

@SKProCH SKProCH added enhancement New feature or request and removed bug Something isn't working labels Oct 13, 2024
@kerams
Copy link
Author

kerams commented Oct 14, 2024

I would be happy with using an overriding style in my application, if there is one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants