Xamarin.forms: FlexLayout incorrectly applies padding

Created on 10 May 2018  路  3Comments  路  Source: xamarin/Xamarin.Forms

Description

Testing on Android emulator.

I have set Padding = new Thickness(20, 0, 20, 0) and JustifyContent = FlexJustify.SpaceBetween, so would expect there to be padding on both edges, and then an even space between each button.

Actual Behavior

The padding all seems to be applied to the right hand side.

Screenshots

capture

flex layout 3 bug

All 3 comments

this was pointed to me by @davidortinau a few days ago. Thanks for filing this

On UWP I find that Padding has no effect. Margins have an effect horizontally but not vertically. Overall padding and margins could use some basic testing on UWP.

still an issue, do not close (yet)

Was this page helpful?
0 / 5 - 0 ratings