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

Text input padding #12

Open
budda opened this issue Aug 20, 2015 · 3 comments
Open

Text input padding #12

budda opened this issue Aug 20, 2015 · 3 comments

Comments

@budda
Copy link
Contributor

budda commented Aug 20, 2015

The padding property doesn't appear to do anything for input components no matter what value i give it.

Can we use the padding property to tidy up the spacing inside the text input box ?

@alaa-eddine
Copy link
Contributor

I don't see what you mean, do you need padding between text and borders ?
the padding property is mainly used by container components to calculate the space between borders and children components, it don't define the padding of the component itself

@budda
Copy link
Contributor Author

budda commented Aug 20, 2015

The padding problem on Input components i'm trying to solve can be seen in the below screenshot:
screen shot 2015-08-21 at 00 00 15

I wish to have even internal padding around the text. ight now the left and right sides can not be made equal to the top/bottom to look tidy. Or at least I cannot seem to find the right way to do it.

@alaa-eddine
Copy link
Contributor

unfortunately the property do not exist in the current version, I maybe need to implement padding and margin properties and handle them like the CSS equivalent .... the padding purpose was not made for the in the first place.

I'll think about it in a next release

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

No branches or pull requests

2 participants