mirror of
https://github.com/zaphar/sheetsui.git
synced 2025-07-22 13:00:22 -04:00
fix: set_column_width renamed in IronCalc
This commit is contained in:
parent
10d9fcc9fe
commit
539ee9d279
@ -575,7 +575,7 @@ impl Book {
|
|||||||
width: usize,
|
width: usize,
|
||||||
) -> std::result::Result<(), anyhow::Error> {
|
) -> std::result::Result<(), anyhow::Error> {
|
||||||
self.model
|
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))?;
|
.map_err(|e| anyhow!("Error setting column width: {:?}", e))?;
|
||||||
self.dirty = true;
|
self.dirty = true;
|
||||||
Ok(())
|
Ok(())
|
||||||
|
Loading…
x
Reference in New Issue
Block a user