scroll
This commit is contained in:
parent
8741225d1b
commit
cb57cad9fa
@ -36,6 +36,15 @@ pub fn installation_progress_page(
|
|||||||
.editable(false)
|
.editable(false)
|
||||||
.buffer(&installation_progress_log_terminal_buffer)
|
.buffer(&installation_progress_log_terminal_buffer)
|
||||||
.build();
|
.build();
|
||||||
|
installation_progress_log_terminal.add_css_class("round-all-scroll");
|
||||||
|
|
||||||
|
let installation_progress_log_scroll = gtk::ScrolledWindow::builder()
|
||||||
|
.vexpand(true)
|
||||||
|
.hexpand(true)
|
||||||
|
.has_frame(true)
|
||||||
|
.child(&installation_progress_log_terminal)
|
||||||
|
.build();
|
||||||
|
installation_progress_log_scroll.add_css_class("round-all-scroll");
|
||||||
|
|
||||||
let placeholder_icon = gtk::Image::builder()
|
let placeholder_icon = gtk::Image::builder()
|
||||||
.icon_name(DISTRO_ICON)
|
.icon_name(DISTRO_ICON)
|
||||||
@ -63,7 +72,6 @@ pub fn installation_progress_page(
|
|||||||
.margin_bottom(5)
|
.margin_bottom(5)
|
||||||
.show_text(true)
|
.show_text(true)
|
||||||
.build();
|
.build();
|
||||||
installation_progress_bar.add_css_class("small_fg_text");
|
|
||||||
|
|
||||||
let progress_log_button = gtk::Button::builder()
|
let progress_log_button = gtk::Button::builder()
|
||||||
.icon_name("terminal-symbolic")
|
.icon_name("terminal-symbolic")
|
||||||
@ -82,7 +90,7 @@ pub fn installation_progress_page(
|
|||||||
"slideshow_page",
|
"slideshow_page",
|
||||||
);
|
);
|
||||||
installation_progress_log_stack.add_titled(
|
installation_progress_log_stack.add_titled(
|
||||||
&installation_progress_log_terminal,
|
&installation_progress_log_scroll,
|
||||||
Some("terminal_log_page"),
|
Some("terminal_log_page"),
|
||||||
"terminal_log_page",
|
"terminal_log_page",
|
||||||
);
|
);
|
||||||
|
Loading…
Reference in New Issue
Block a user