Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Add new methods to Padding - #165

Merged
dantleech merged 2 commits into
php-tui:mainfrom
KennedyTedesco:padding
Nov 22, 2023
Merged

Add new methods to Padding#165
dantleech merged 2 commits into
php-tui:mainfrom
KennedyTedesco:padding

Conversation

@KennedyTedesco

Copy link
Copy Markdown
Contributor

With this change, users can play with variations like:

Padding::all(4)->left(2); // left = 2, right = 4, top = 4, bottom = 4
Padding::horizontal(2); // left = 2 and right = 2

@dantleech
dantleech merged commit 745ec14 into php-tui:main Nov 22, 2023
@dantleech

Copy link
Copy Markdown
Collaborator

Geeat!

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants