jmcnamara / rust_xlsxwriter

A Rust library for creating Excel XLSX files.
https://crates.io/crates/rust_xlsxwriter
Apache License 2.0
316 stars 25 forks source link

feature request: split `set_align` into `set_horizontal_align` and `set_vertical_align` #4

Closed Chronophylos closed 1 year ago

Chronophylos commented 1 year ago

Feature Request

Splitting the Format::set_align function into set_horizontal_align and set_vertical_align is easier to read as it is clear which alignment is set. XlsxAlign would also need to be spit into HorizontalAlign and VerticalAlign.

jmcnamara commented 1 year ago

Thanks for the suggestion.

This one I probably won't add. The set_align() method is similar to the same method/function in the Python/C/Perl versions and most folks seem to be able to navigate that without any problems.