Skip to content

Commit

Permalink
fix(gtk): Fix display of progress bar and its label
Browse files Browse the repository at this point in the history
  • Loading branch information
mmstick committed Aug 13, 2019
1 parent dd5d257 commit dbaa010
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions gtk/src/widgets/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,8 @@ impl DeviceWidget {
gtk::ProgressBarBuilder::new()
.show_text(true)
.pulse_step(0.1 / f64::from(info.install_duration + 1))
.valign(gtk::Align::Center)
.height_request(30)
.build();
..pulse();
..show();
Expand Down

0 comments on commit dbaa010

Please sign in to comment.