Compare commits

...

3 Commits

Author SHA1 Message Date
Nate Duncan
0177ed0847 fix: forced Cargo to use lock file on install 2025-03-24 19:25:29 -04:00
Nate Duncan
6090042327 update: ironcalc 0.5.0 2025-03-24 19:25:29 -04:00
Nate Duncan
539ee9d279 fix: set_column_width renamed in IronCalc 2025-03-24 19:25:29 -04:00
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 = 3
version = 4
[[package]]
name = "addr2line"
@ -806,8 +806,8 @@ dependencies = [
[[package]]
name = "ironcalc"
version = "0.3.0"
source = "git+https://github.com/ironcalc/IronCalc#b2c5027f56a16a0c606b01a071b816b941972aef"
version = "0.5.0"
source = "git+https://github.com/ironcalc/IronCalc#efc925a0460fa5ea915376f386f948e988f2be2f"
dependencies = [
"bitcode",
"chrono",
@ -822,8 +822,8 @@ dependencies = [
[[package]]
name = "ironcalc_base"
version = "0.3.0"
source = "git+https://github.com/ironcalc/IronCalc#b2c5027f56a16a0c606b01a071b816b941972aef"
version = "0.5.0"
source = "git+https://github.com/ironcalc/IronCalc#efc925a0460fa5ea915376f386f948e988f2be2f"
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" }
ironcalc = { git = "https://github.com/ironcalc/IronCalc", version = "0.5.0"}
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
cargo install --git https://github.com/zaphar/sheetsui --locked
```
## Running

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(())