Frame not using full width of the parent (StackLayout) when another element occupies the stack #13488
Labels
area-controls-frame
Frame
area-drawing
Shapes, Borders, Shadows, Graphics, BoxView, custom drawing
area-layout
StackLayout, GridLayout, ContentView, AbsoluteLayout, FlexLayout, ContentPresenter
platform/iOS 🍎
s/triaged
Issue has been reviewed
s/verified
Verified / Reproducible Issue ready for Engineering Triage
t/bug
Something isn't working
Milestone
Description
Hi,
I came across an issue with the Frame. If the frame has a HorizontalOptions start, and its content is long enough it wont use the full width. Changing start to startAndExpand does not have any effect. Removing the Border element form the StackLayout then the frame does us the full parent width. Only on iOS, android works as expected.
Shadow problems are reported under #13487
Important to note that if i turn the shadows off, the problem still exists:
Steps to Reproduce
Styles.xml:
MainPage.xml:
Or use my bug-demo repo.
Link to public reproduction project repository
https://github.com/npostma/bug_reports-MAUI_Shadows
Version with bug
7.0 (current)
Last version that worked well
Unknown/Other
Affected platforms
iOS
Affected platform versions
Atleast iOS 16.2 and beyond
Did you find any workaround?
Not at this moment.
Relevant log output
No response
The text was updated successfully, but these errors were encountered: