EZGUI icon indicating copy to clipboard operation
EZGUI copied to clipboard

Text input padding

Open budda opened this issue 9 years ago • 3 comments

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 ?

budda avatar Aug 20 '15 00:08 budda

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

alaa-eddine avatar Aug 20 '15 10:08 alaa-eddine

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.

budda avatar Aug 20 '15 23:08 budda

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

alaa-eddine avatar Aug 25 '15 15:08 alaa-eddine