jmcnamara/xlsxwriter.lua

Vertical alignment does not work.

Closed this issue · 6 comments

I test merge1.lua and I get vertical alignment as bottom not vcenter.
I also try set valign = "center" result is same.

Hi Alexey,

Can you add a small example that demonstrates the issue.

Regards,

John

I just run merge1.lua from examples directory.

Tested with current master.

Does not work valign properties.
to set vertical alignmet nedd to use merge_format:set_align("vcenter")
May be just remove valign and allaw use array to set align in ctor

merge_format = workbook:add_format{
    align    = {"center","vcenter"}
}

Hi Alexey,

Thanks for the report. Yes, there is a bug there. I'll fix it and let you know.

John

I pushed a fix for this issue. Thanks for the report.