Add Height and HeightRange option. #360
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Pull Request Description
Summary
I have added two new tags to the library,
<<Height number>>
and<<HeightRange number>>
, which allow users to set the height for individual rows and a range of rows respectively.Changes Made
<<Height number>>
Tag: This tag sets the height for a specific row. When this tag is processed, the row height is adjusted according to the specified number.Example Usage:
After processing, the row containing this tag will have a height of 20 units.
<<HeightRange number>>
Tag: This tag sets the height for a range of rows. When this tag is processed, the specified range of rows will have their heights set to the given number.Example Usage:
After processing, the rows in the specified range will each have a height of 30 units.
Detailed Implementation
<<Height number>>
tag parses the number and applies it to the height property of the targeted row.<<HeightRange number>>
tag parses the number and applies it to the height property of the rows within the specified range.These enhancements aim to provide more flexibility and control over row formatting in the library.
Thank you for considering this pull request. I believe these additions will greatly benefit users by providing more precise control over row heights.