EZGUI
EZGUI copied to clipboard
Text input padding
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 ?
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
The padding problem on Input components i'm trying to solve can be seen in the below screenshot:
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.
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