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

Visual Material UI Padding #55

Open
ErnestoPaz opened this issue Oct 17, 2019 · 4 comments
Open

Visual Material UI Padding #55

ErnestoPaz opened this issue Oct 17, 2019 · 4 comments
Labels
help wanted Extra attention is needed

Comments

@ErnestoPaz
Copy link

Hi
I used Visual Material in Xamarin Forms but there's no way to add padding to this control to make a cohesive UI.
How I can add some padding, I used a CustomRenderer but on iOS seems imposible to add a padding.

Platform : iOS

Xamarin Forms with Visual Material

@dotMorten
Copy link
Owner

@ErnestoPaz I'm by no means an expert on iOS UI layout and how to control these. However since the InputTextField and SelectionList controls are exposed by the iOS renderer, I don't see why you can't control their layout with a custom renderer?
Also I'm not even sure where you're looking to add padding (the text field or the selection list, both or something else). A mock-up picture that describes what you'd like to see would be helpful

@dotMorten dotMorten added the help wanted Extra attention is needed label Oct 17, 2019
@ErnestoPaz
Copy link
Author

ios Render
I want to add padding to the text inside the control.

@dotMorten
Copy link
Owner

@ErnestoPaz Could you perhaps provide a simple sample app that demonstrates the issue you're experiencing?

@matiasotero
Copy link

Hello there! I noticed that It is an old post... just in case if It could useful for anyone looking for this or similar, I leave a snippet of my non-fancy code from my custom renderer (if anyone could improve this, please let me know. I'm always looking for better ways to improve my coding).

CustomRenderer.zip

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants