Compare commits

..

No commits in common. "0177ed0847f8f376506aacada2bed78633ea501d" and "10d9fcc9feb3b9c1f8c6f660818bb3b2618a504c" have entirely different histories.

4 changed files with 8 additions and 8 deletions

10
Cargo.lock generated
View File

@ -1,6 +1,6 @@
# This file is automatically @generated by Cargo.
# It is not intended for manual editing.
version = 4
version = 3
[[package]]
name = "addr2line"
@ -806,8 +806,8 @@ dependencies = [
[[package]]
name = "ironcalc"
version = "0.5.0"
source = "git+https://github.com/ironcalc/IronCalc#efc925a0460fa5ea915376f386f948e988f2be2f"
version = "0.3.0"
source = "git+https://github.com/ironcalc/IronCalc#b2c5027f56a16a0c606b01a071b816b941972aef"
dependencies = [
"bitcode",
"chrono",
@ -822,8 +822,8 @@ dependencies = [
[[package]]
name = "ironcalc_base"
version = "0.5.0"
source = "git+https://github.com/ironcalc/IronCalc#efc925a0460fa5ea915376f386f948e988f2be2f"
version = "0.3.0"
source = "git+https://github.com/ironcalc/IronCalc#b2c5027f56a16a0c606b01a071b816b941972aef"
dependencies = [
"bitcode",
"chrono",

View File

@ -10,7 +10,7 @@ anyhow = { version = "1.0.91", features = ["backtrace"] }
clap = { version = "4.5.20", features = ["derive"] }
crossterm = { version = "0.28.1", features = ["event-stream", "serde"] }
# this revision introduces a way to get the Model back out of the UserModel
ironcalc = { git = "https://github.com/ironcalc/IronCalc", version = "0.5.0"}
ironcalc = { git = "https://github.com/ironcalc/IronCalc" }
futures = "0.3.31"
ratatui = "0.29.0"
thiserror = "1.0.65"

View File

@ -11,7 +11,7 @@ nix profile install github:zaphar/sheetsui
### Cargo
```sh
cargo install --git https://github.com/zaphar/sheetsui --locked
cargo install --git https://github.com/zaphar/sheetsui
```
## Running

View File

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