Skip to content

Commit

Permalink
Fix layout of about page
Browse files Browse the repository at this point in the history
  • Loading branch information
swsnr committed Nov 15, 2023
1 parent e8116af commit 8366f7a
Showing 1 changed file with 23 additions and 17 deletions.
40 changes: 23 additions & 17 deletions ui/AboutPage.blp
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,25 @@ template $AboutPage : Adw.PreferencesPage {
title: _("About");
icon-name: "dialog-information-symbolic";

Box {
orientation: vertical;
valign: center;
halign: center;
margin-top: 12;
margin-bottom: 12;
Adw.PreferencesGroup {
valign: fill;
halign: fill;

Label extensionName {
label: "The name of this extension";
Box {
orientation: vertical;
halign: center;
margin-bottom: 15;
styles ["title-1"]

Label extensionName {
label: "The name of this extension";
margin-bottom: 5;
styles ["title-1"]
}

Label extensionVersion {
label: "0.0.0";
styles ["caption"]
}
}

Box {
Expand All @@ -24,7 +32,7 @@ template $AboutPage : Adw.PreferencesPage {
margin-bottom: 5;

Label extensionDescription {
label: "The description of this extension";
label: "Description of this extension";
justify: center;
}
}
Expand All @@ -43,18 +51,16 @@ template $AboutPage : Adw.PreferencesPage {
}

Box {
halign: center;
orientation: vertical;
vexpand: true;
hexpand: true;

ScrolledWindow {
margin-top: 24;
height-request: 400;
width-request: 600;
vexpand: true;
hexpand: true;

TextView extensionLicense {
bottom-margin: 12;
left-margin: 12;
right-margin: 12;
top-margin: 12;
editable: false;
cursor-visible: false;
wrap-mode: word;
Expand Down

0 comments on commit 8366f7a

Please sign in to comment.