fix: set_column_width renamed in IronCalc

This commit is contained in:
Nate Duncan 2025-03-08 02:47:56 -05:00 committed by Jeremy Wall
parent 10d9fcc9fe
commit 539ee9d279

View File

@ -575,7 +575,7 @@ impl Book {
width: usize,
) -> std::result::Result<(), anyhow::Error> {
self.model
.set_column_width(sheet, col as i32, width as f64 * COL_PIXELS)
.set_columns_width(sheet, col as i32, col as i32, width as f64 * COL_PIXELS)
.map_err(|e| anyhow!("Error setting column width: {:?}", e))?;
self.dirty = true;
Ok(())