
* Use simple `ui.interact` for the resize line * Introduce TableReizeState * Simplify some code * Add striped options to table demo * Auto-size table columns by double-clicking the resize line * Table: add option to auto-size the columns * Table: don't let column width gets too small, unless clipping is on * egui_extras: always use serde Otherwise using `get_persisted` etc is impossible, and working around that tedious. * Avoid clipping last column in a resizable table * Some better naming * Table: Use new `Column` for setting column sizes and properties Also make `clip` a per-column property * All Table:s store state for auto-sizing purposes * Customize each column wether or not it is resizable * fix some auto-sizing bugs * Fix shrinkage of adaptive column content * Rename `scroll` to `vscroll` for clarity * Add Table::scroll_to_row * scroll_to_row takes alignment * Fix bug in table sizing * Strip: turn clipping OFF by default, because it is dangerous and sucks * Add TableBody::mac_rect helper * Table: add options to control the scroll area height. * Docstring fixes * Cleanup
68 lines
1.9 KiB
TOML
68 lines
1.9 KiB
TOML
[package]
|
|
name = "egui_extras"
|
|
version = "0.19.0"
|
|
authors = [
|
|
"Dominik Rössler <dominik@freshx.de>",
|
|
"Emil Ernerfeldt <emil.ernerfeldt@gmail.com>",
|
|
"René Rössler <rene@freshx.de>",
|
|
]
|
|
description = "Extra functionality and widgets for the egui GUI library"
|
|
edition = "2021"
|
|
rust-version = "1.65"
|
|
homepage = "https://github.com/emilk/egui"
|
|
license = "MIT OR Apache-2.0"
|
|
readme = "README.md"
|
|
repository = "https://github.com/emilk/egui"
|
|
categories = ["gui", "game-development"]
|
|
keywords = ["gui", "imgui", "immediate", "portable", "gamedev"]
|
|
include = ["../LICENSE-APACHE", "../LICENSE-MIT", "**/*.rs", "Cargo.toml"]
|
|
|
|
[package.metadata.docs.rs]
|
|
all-features = true
|
|
|
|
[lib]
|
|
|
|
|
|
[features]
|
|
default = []
|
|
|
|
## Enable [`DatePickerButton`] widget.
|
|
datepicker = ["chrono"]
|
|
|
|
## Support loading svg images.
|
|
svg = ["resvg", "tiny-skia", "usvg"]
|
|
|
|
## Log warnings using `tracing` crate.
|
|
tracing = ["dep:tracing", "egui/tracing"]
|
|
|
|
|
|
[dependencies]
|
|
egui = { version = "0.19.0", path = "../egui", default-features = false }
|
|
|
|
serde = { version = "1", features = ["derive"] }
|
|
|
|
#! ### Optional dependencies
|
|
|
|
# Date operations needed for datepicker widget
|
|
chrono = { version = "0.4", optional = true }
|
|
|
|
## Enable this when generating docs.
|
|
document-features = { version = "0.2", optional = true }
|
|
|
|
## Add support for loading images with the [`image`](https://docs.rs/image) crate.
|
|
##
|
|
## You also need to ALSO opt-in to the image formats you want to support, like so:
|
|
## ```toml
|
|
## image = { version = "0.24", features = ["jpeg", "png"] }
|
|
## ```
|
|
image = { version = "0.24", optional = true, default-features = false }
|
|
|
|
# svg feature
|
|
resvg = { version = "0.23", optional = true }
|
|
tiny-skia = { version = "0.6", optional = true } # must be updated in lock-step with resvg
|
|
usvg = { version = "0.23", optional = true }
|
|
|
|
# feature "tracing"
|
|
tracing = { version = "0.1", optional = true, default-features = false, features = [
|
|
"std",
|
|
] }
|