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

Frame does not support BorderWidth #15851

Closed
thisisthekap opened this issue Jun 26, 2023 · 4 comments
Closed

Frame does not support BorderWidth #15851

thisisthekap opened this issue Jun 26, 2023 · 4 comments

Comments

@thisisthekap
Copy link
Contributor

Description

Frame implements IBorderElement, but does not support BorderWidth.

Steps to Reproduce

  1. Use Frame
  2. Set a BorderColor
  3. Now a fixed BorderWidth of 1 is used. There is no way to change it.

Link to public reproduction project repository

https://github.com/albilaga/TestMauiFrame

Version with bug

7.0.49

Last version that worked well

Unknown/Other

Affected platforms

iOS, Android

Affected platform versions

iOS 16, Android 13

Did you find any workaround?

Place 2 layout elements on top of each other and use the background element as border.

Relevant log output

No response

@thisisthekap thisisthekap added the t/bug Something isn't working label Jun 26, 2023
@SarthakB26
Copy link

Frame will be deprecated very soon. You should use Border and Shadow Controls instead of Frame in MAUI

@thisisthekap
Copy link
Contributor Author

@SarthakB26 Thank you for pointing that out! Do you know if that approach works for Xamarin.Forms as well?

@ghost ghost added the legacy-area-controls Label, Button, CheckBox, Slider, Stepper, Switch, Picker, Entry, Editor label Jun 26, 2023
@jsuarezruiz jsuarezruiz added area-controls-frame Frame and removed legacy-area-controls Label, Button, CheckBox, Slider, Stepper, Switch, Picker, Entry, Editor area-controls-border Border labels Jun 26, 2023
@ghost ghost added the legacy-area-controls Label, Button, CheckBox, Slider, Stepper, Switch, Picker, Entry, Editor label Jun 26, 2023
@SarthakB26
Copy link

@SarthakB26 Thank you for pointing that out! Do you know if that approach works for Xamarin.Forms as well?

Unfortunately these controls are only available in MAUI.

@PureWeen PureWeen added proposal/open and removed t/bug Something isn't working labels Jun 27, 2023
@PureWeen
Copy link
Member

We are deprecating Frame for Border so we aren't currently planning on adding any additional APIs to Frame

@PureWeen PureWeen closed this as not planned Won't fix, can't repro, duplicate, stale Jun 27, 2023
@ghost ghost locked as resolved and limited conversation to collaborators Jul 27, 2023
@Eilon Eilon removed the legacy-area-controls Label, Button, CheckBox, Slider, Stepper, Switch, Picker, Entry, Editor label May 10, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

6 participants