egui_double_slider

Crates.ioegui_double_slider
lib.rsegui_double_slider
version0.9.0
created_at2024-11-01 17:00:47.695085+00
updated_at2025-07-14 12:56:08.220726+00
descriptionA double slider widget for egui.
homepagehttps://github.com/hacknus/egui_double_slider
repositoryhttps://github.com/hacknus/egui_double_slider
max_upload_size
id1432061
size1,166,055
(hacknus)

documentation

https://docs.rs/egui_double_slider

README

egui Double Slider Widget

crates.io Docs Rust

A double slider widget for the GUI rust library egui.

screenshot dark screenshot light

Add double slider along with eframe to your cargo.toml.

eframe = "0.31"
egui_double_slider = "0.9.0"

To run the example:

cargo run --example example

Example code:

use egui;
use egui_double_slider::DoubleSlider;

fn main() {
    egui::__run_test_ui(|ui| {
        ui.add(
            DoubleSlider::new(
                &mut self.slider_val_low_1,
                &mut self.slider_val_high_1,
                10.0..=300.0,
            )
                .width(width)
                .separation_distance(10.0),
        );
    });
}
Commit count: 51

cargo fmt