When a button is placed within a stack layout and a padding of 15 is applied, the button's rendering extends beyond the boundaries of the stack layout. This results in an undesirable visual overflow, potentially causing layout inconsistencies and user interface issues.
Steps to Reproduce
Steps to Reproduce:
Download the sample attached.
Run the sample.
Observe the button rendering overflow issue when padding is set in the StackLayout.
Description
When a button is placed within a stack layout and a padding of 15 is applied, the button's rendering extends beyond the boundaries of the stack layout. This results in an undesirable visual overflow, potentially causing layout inconsistencies and user interface issues.
Steps to Reproduce
Steps to Reproduce:
MAUIDemo.zip
Link to public reproduction project repository
No response
Version with bug
8.0.3 GA
Is this a regression from previous behavior?
Not sure, did not test other versions
Last version that worked well
Unknown/Other
Affected platforms
Windows
Affected platform versions
No response
Did you find any workaround?
No response
Relevant log output
No response