settings window

Former-commit-id: 41d85bdc41507bb8c26e5cda2db3135200db7be5
This commit is contained in:
Pfauenauge 2019-04-29 20:13:22 +02:00
parent 1f369d37bf
commit 5852efd896

View File

@ -1047,18 +1047,20 @@ impl Hud {
// 0 Settings
if let Windows::Settings = self.open_windows {
// Alignment
// Frame Alignment
Rectangle::fill_with([824.0, 488.0], color::TRANSPARENT)
.middle_of(ui_widgets.window)
.scroll_kids()
.scroll_kids_vertically()
.middle_of(ui_widgets.window)
.set(self.ids.settings_bg, ui_widgets);
// Frame
Image::new(self.imgs.settings_frame_l)
.top_left_with_margins_on(self.ids.settings_bg, 0.0, 0.0)
.w_h(412.0, 488.0)
.set(self.ids.settings_l, ui_widgets);
<<<<<<< HEAD
Image::new(self.imgs.settings_frame_r)
=======
Image::new(self.imgs.settings_frame_r)
>>>>>>> settings window
.right_from(self.ids.settings_l, 0.0)
.parent(self.ids.settings_bg)
.w_h(412.0, 488.0)