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
Fluent controls don't respect BorderThickness
set to 0
#7621
Comments
@MartinZikmund You implemented the new Fluent v2 borders for Android I believe. Do you expect this is an easy fix? Can you point in the right direction? |
Workaround here would be to create a custom |
No rush, I was under the impression the linear gradient borders required some larger work-arounds to get working. If it was just some tweaks to the template this should be quickly solvable. |
We were (and still are) aiming for a full workaround-less implementation for linear gradient borders (Android, iOS, macOS and Skia are actually basically ready in this regard), but getting it working on WASM is super tricky, as gradients don't play nice with corner radius, so that's why we went with this simpler solution for now until we find a reliable solution on web |
BorderThickness
set to 0
This applies to other controls like |
Current behavior
Using the Fluent version 2 Style on
TextBox
, it is impossible to setBorderThickness
to zero and have the border disappear. Consider the following code:Produces (on Android):
Unfocused
Keyboard Focused
Expected behavior
UWP:
Unfocused
Keyboard Focused
How to reproduce it (as minimally and precisely as possible)
See the repro app:
TestApp.zip
Workaround
None
Works on UWP/WinUI
Yes
Environment
Uno.UI / Uno.UI.WebAssembly / Uno.UI.Skia
NuGet package version(s)
4.0.9
Affected platforms
Android
IDE
Visual Studio 2022
IDE version
No response
Relevant plugins
No response
Anything else we need to know?
No response
The text was updated successfully, but these errors were encountered: