Skip to content
This repository has been archived by the owner on Jun 10, 2024. It is now read-only.

Padding not working on Android #18

Open
giuseppe-terrasi opened this issue Jun 12, 2020 · 2 comments
Open

Padding not working on Android #18

giuseppe-terrasi opened this issue Jun 12, 2020 · 2 comments
Assignees
Labels

Comments

@giuseppe-terrasi
Copy link

Hi,
i noticed that if I set the properties LeftPadding or RightPadding or TopBottomPadding they are ignored on Android but they works perfectly on iOS.

This is related on
_gradientDrawable.GetPadding(padding);
inside LeoJHarris.FormsPlugin.Droid.EnhancedEntryRenderer.

This works:

Control.SetPadding(entryExt.LeftPadding, entryExt.TopBottomPadding / 2, entryExt.RightPadding, entryExt.TopBottomPadding / 2);

@LeoJHarris LeoJHarris self-assigned this Jun 15, 2020
@LeoJHarris LeoJHarris added the bug label Jun 15, 2020
@LeoJHarris
Copy link
Owner

@giuseppe-terrasi Ill check it out

@mhrastegari
Copy link

LeftPadding not working for me too :(

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

3 participants