mirror of
https://github.com/ALEZ-DEV/Babylonia-terminal.git
synced 2025-12-16 09:28:53 +00:00
edited the about page
This commit is contained in:
parent
c84520212c
commit
ce50bf00e4
@ -1,7 +1,8 @@
|
||||
use libadwaita::prelude::PreferencesPageExt;
|
||||
use libadwaita::prelude::{PreferencesPageExt, PreferencesRowExt};
|
||||
use relm4::{
|
||||
gtk::prelude::WidgetExt,
|
||||
gtk::prelude::{OrientableExt, WidgetExt},
|
||||
prelude::{adw, gtk, AsyncComponentParts, SimpleAsyncComponent},
|
||||
RelmWidgetExt,
|
||||
};
|
||||
|
||||
use crate::APP_RESOURCE_PATH;
|
||||
@ -17,6 +18,9 @@ impl SimpleAsyncComponent for AboutPage {
|
||||
type Init = ();
|
||||
|
||||
view! {
|
||||
gtk::Box {
|
||||
set_orientation: gtk::Orientation::Vertical,
|
||||
|
||||
adw::PreferencesPage {
|
||||
add = &adw::PreferencesGroup {
|
||||
gtk::Label {
|
||||
@ -33,11 +37,12 @@ impl SimpleAsyncComponent for AboutPage {
|
||||
|
||||
gtk::Label {
|
||||
set_label: "This software was made under the GPL-3.0 license",
|
||||
set_margin_top: 24,
|
||||
set_margin_vertical: 24,
|
||||
add_css_class: "title-4",
|
||||
},
|
||||
|
||||
gtk::Label {
|
||||
set_justify: gtk::Justification::Fill,
|
||||
set_label: r#"Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/>
|
||||
Everyone is permitted to copy and distribute verbatim copies
|
||||
of this license document, but changing it is not allowed.
|
||||
@ -716,6 +721,7 @@ Public License instead of this License. But first, please read
|
||||
},
|
||||
},
|
||||
}
|
||||
}
|
||||
|
||||
async fn init(
|
||||
_: Self::Init,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user