Skip to content

Commit

Permalink
fix(gtk): Fix buttons to allow shadow without clipping
Browse files Browse the repository at this point in the history
Closes #25
  • Loading branch information
mmstick committed Aug 13, 2019
1 parent 3bfd71f commit 8c041d1
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 @@ -30,7 +30,9 @@ impl DeviceWidget {
.label("Update")
.halign(gtk::Align::End)
.hexpand(true)
.vexpand(true)
.visible(info.current != info.latest)
.margin(15)
.build();
..get_style_context().add_class(&gtk::STYLE_CLASS_SUGGESTED_ACTION);
};
Expand Down

0 comments on commit 8c041d1

Please sign in to comment.