Controls Window Contents

Former-commit-id: f11a9b4da250ba9bd095220efc9e8fc97d32c983
This commit is contained in:
Pfauenauge 2019-05-01 23:20:31 +02:00
parent 1ba1eb20c7
commit 8c35f06ed7

View File

@ -1008,10 +1008,10 @@ impl Hud {
// X-button
if Button::image(self.imgs.close_button)
.w_h(4.0 * 4.0, 4.0 * 4.0)
.w_h(28.0, 28.0)
.hover_image(self.imgs.close_button_hover)
.press_image(self.imgs.close_button_press)
.top_right_with_margins_on(self.ids.bag_contents, 4.5, 4.5)
.top_right_with_margins_on(self.ids.bag_contents, 0.0, 0.0)
.set(self.ids.bag_close, ui_widgets)
.was_clicked()
{