You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If a view width is bigger than the text length and we needed to fill the remaining with spaces. This allows any view to leverage all the text alignment feature.
Another advantage of this fill option is that isn't needed to clear the area before write. The View.Redraw currently use two methods to write to the screen, Clear and Draw. Using only the Draw method is possible to clear what is to be cleared and write what have to be write, increasing the performance.
The text was updated successfully, but these errors were encountered:
…2003)
* Added feature to fill the remaining width with spaces.
* Removing unnecessary parameter.
* Fixes a typo.
* Unit test rewritten to explain better main feature of this PR.
Co-authored-by: Tig Kindel <[email protected]>
If a view width is bigger than the text length and we needed to fill the remaining with spaces. This allows any view to leverage all the text alignment feature.
Another advantage of this fill option is that isn't needed to clear the area before write. The View.Redraw currently use two methods to write to the screen, Clear and Draw. Using only the Draw method is possible to clear what is to be cleared and write what have to be write, increasing the performance.
The text was updated successfully, but these errors were encountered: