Skip to content

Commit

Permalink
default to a working limit
Browse files Browse the repository at this point in the history
  • Loading branch information
sigmaSd committed Apr 28, 2022
1 parent 03e1d52 commit fd590fe
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/eltrafico_main/gui/widget_builder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,13 @@ pub fn create_row(name: Option<&str>, stdin: SharedStdinHandle, global: bool) ->
let current_speed = Label::new(None);
let down = Label::new(Some("Down: "));
let down_value = SpinButton::with_range(0., f64::MAX, 10.);
// better default to a working amount
down_value.set_value(100.);
let down_unit = create_unit_widget();
let up = Label::new(Some("Up: "));
let up_value = SpinButton::with_range(0., f64::MAX, 10.);
// better default to a working amount
up_value.set_value(100.);
let up_unit = create_unit_widget();
up_value.set_placeholder_text(Some("None"));

Expand Down

0 comments on commit fd590fe

Please sign in to comment.