Update
This commit is contained in:
parent
d6fca2592e
commit
66f58a3cae
|
@ -121,13 +121,9 @@ async fn gui() -> io::Result<()> {
|
|||
image::SvgImage::load("/usr/share/melawy-linux-updater/assets/icons/Melawy.svg").unwrap();
|
||||
win.set_icon(Some(image));
|
||||
|
||||
let frame = frame::Frame::default_fill()
|
||||
.with_size(win.width(), win.height())
|
||||
.center_of(&win);
|
||||
let frame = frame::Frame::default_fill().center_of(&win);
|
||||
|
||||
let mut term: Terminal = Terminal::default_fill()
|
||||
.with_size(win.width(), win.height())
|
||||
.center_of(&frame);
|
||||
let mut term: Terminal = Terminal::default_fill().center_of(&frame);
|
||||
term.set_color(Color::Background2);
|
||||
term.set_text_color(Color::Light2);
|
||||
term.set_history_rows(5000);
|
||||
|
|
Loading…
Reference in New Issue